Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Sharing Configuration between Multiple CGI Scripts (was: How difficult can)by belize (Deacon) |
on Aug 08, 2002 at 16:29 UTC ( [id://188636]=note: print w/replies, xml ) | Need Help?? |
The result of using CGI::Carp was that the config.pm file did not return a true value even though I had a:
1; line at the end. I then changed the line to: return 1; and all worked fine. Is this a requirement of Perl 5.006? or should one always use: return 1; Thanks for the CGI::Carp suggestion, we did not have access to the error logs.
In Section
Seekers of Perl Wisdom
|
|