Hi -
I have a Perl-based CGI script which used to run perfectly fine under Perl v5.00? (4? not sure), but which does not work at all under v5.6 (my dagblasted sysadmin changed versions on me without letting me know, so I'm scrambling to fix the problem).
Firstly, is there a list of modifications between different versions of Perl that I can peruse? I checked the FAQ and didn't see any such thing.
Secondly, might anyone know why the following code no longer works? It worked fine just yesterday... assume that $action and $package are not hardcoded, but are values that were looked up in a database....
my @vars;
my $action = 'doit'; my $package = 'myperl::package';
eval "require $package";
&error( "No such package: $package ? ($! $@)" );
my $act = $package->new( $action ) or &error( "No proper action taken"
+ );
&$act( @vars ) or &error( "Failure to act" );
The code works fine until the last line, and then just stops (doesn't even display the error message).
Any insight would be greatly appreciated....