OK...I added the following to a file called clear-cache.pl...
#!/usr/bin/perl
lib '/home/audio/audio-grabber-www/cgi-bin/admin/';
use Links qw/$DB/;
my $cache = $DB->table('SearchCache');
$cache->delete_all;
....and it gave me an internal server error.
Am I doing something wrong?....Should it not be...
#!/usr/bin/perl
use strict;
use lib '/home/audio/audio-grabber-www/cgi-bin/admin/';
use Links qw/$DB/;
my $cache = $DB->table('SearchCache');
$cache->delete_all;
Paul Wilson.
(Dont blame me if I'm wrong!)
#!/usr/bin/perl
lib '/home/audio/audio-grabber-www/cgi-bin/admin/';
use Links qw/$DB/;
my $cache = $DB->table('SearchCache');
$cache->delete_all;
....and it gave me an internal server error.
Am I doing something wrong?....Should it not be...
#!/usr/bin/perl
use strict;
use lib '/home/audio/audio-grabber-www/cgi-bin/admin/';
use Links qw/$DB/;
my $cache = $DB->table('SearchCache');
$cache->delete_all;
Paul Wilson.
(Dont blame me if I'm wrong!)