Anyone got any idea why I get the following error with this code;
require Net::Whois::Raw ('whois');
};
if ($@) { print "Error: <BR><BR>$@"; exit; }
Unable to load plugin: Spider ([Wed Aug 6 04:03:54 2003] admin.cgi: [Wed Aug 6 04:03:54 2003] admin.cgi: syntax error at /home/www/admin/Plugins/Spider.pm line 253, near "require Net::Whois::Raw" [Wed Aug 6 04:03:54 2003] admin.cgi: [Wed Aug 6 04:03:54 2003] admin.cgi: BEGIN not safe after errors--compilation aborted at /home/www/admin/Plugins/Spider.pm line 266. ) at /home/www/admin/admin.cgi line 200.
For help, please send mail to the webmaster (root@fatima.cmd-epubs.com), giving this error message and the time and date of the error.
I'm a little confused as to why this works on some server, but not others. If I use;
require Net::Whois::Raw;
};
if ($@) { print "Error: <BR><BR>$@"; exit; }
... I get;
[Wed Aug 6 04:10:13 2003] admin.cgi: [Wed Aug 6 04:10:13 2003] admin.cgi: Compilation failed in require at /usr/lib/perl5/site_perl/5.005/Net/Whois/Raw.pm line 3.
Anyone got any ideas?
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
eval { require Net::Whois::Raw ('whois');
};
if ($@) { print "Error: <BR><BR>$@"; exit; }
Quote:
Software error: Unable to load plugin: Spider ([Wed Aug 6 04:03:54 2003] admin.cgi: [Wed Aug 6 04:03:54 2003] admin.cgi: syntax error at /home/www/admin/Plugins/Spider.pm line 253, near "require Net::Whois::Raw" [Wed Aug 6 04:03:54 2003] admin.cgi: [Wed Aug 6 04:03:54 2003] admin.cgi: BEGIN not safe after errors--compilation aborted at /home/www/admin/Plugins/Spider.pm line 266. ) at /home/www/admin/admin.cgi line 200.
For help, please send mail to the webmaster (root@fatima.cmd-epubs.com), giving this error message and the time and date of the error.
I'm a little confused as to why this works on some server, but not others. If I use;
Code:
eval { require Net::Whois::Raw;
};
if ($@) { print "Error: <BR><BR>$@"; exit; }
... I get;
Quote:
Error: [Wed Aug 6 04:10:13 2003] admin.cgi: [Wed Aug 6 04:10:13 2003] admin.cgi: Compilation failed in require at /usr/lib/perl5/site_perl/5.005/Net/Whois/Raw.pm line 3.
Anyone got any ideas?
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!