After succefully adding a listing via the admin module I attempted to run search.cgi and got this error:
Error Message : fatal error: syntax error at /usr/local/lib/perl5/5.00503/i386-bsdos/warnings.pm line 246, near "{^"
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.00503/i386-bsdos/vars.pm line 11.
BEGIN failed--compilation aborted at /usr/local/etc/httpd/htdocs/cgi-bin/search/admin/Template.pm line 22.
I uploaded warnings.pm and vars.pm straight from the current perl release (v5.6.0).
vars.pm has this note at the bottom...
NOTE: The functionality provided by this pragma has been superseded
by C<our> declarations, available in Perl v5.6.0 or later. See
L<perlfunc/our>.
Any thoughts on this one?
Error Message : fatal error: syntax error at /usr/local/lib/perl5/5.00503/i386-bsdos/warnings.pm line 246, near "{^"
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.00503/i386-bsdos/vars.pm line 11.
BEGIN failed--compilation aborted at /usr/local/etc/httpd/htdocs/cgi-bin/search/admin/Template.pm line 22.
I uploaded warnings.pm and vars.pm straight from the current perl release (v5.6.0).
vars.pm has this note at the bottom...
NOTE: The functionality provided by this pragma has been superseded
by C<our> declarations, available in Perl v5.6.0 or later. See
L<perlfunc/our>.
Any thoughts on this one?