Michael Wright wrote:
> hi,
>
> i have recently migrated to Redhat 7.1 from Redhat 5.2.
> Perl 5.004 was installed on the old box but RH 7.1 has perl 5.6.0. When the
> users try to run their old perl scripts created under 5.004 many of the
> scripts return a "Internal Server Error" message. I believe that perl 5.6.0
> handles things a little different. Does anyone know if this the case and if
> it is, is there a fix or a url where I can get more info on resolving the
> version differences.
Either run the scripts from the commandline and fix the errors or
feed the errors back to the browser with something like this:
BEGIN {
use CGI::Carp qw(carpout fatalsToBrowser);
&carpout (\*STDOUT); # back to browser or use a log file
#
warningsToBrowser(1);
# add warnings too if you like (carpout should handle)
}
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs