in reply to How to Run/Convert(?) Script Built on 5.8.4 to 5.004

It really depends on the code. There's no automatic way if that's what you mean.

Most things should run just fine. Some 5.8.x standard modules will be missing but will be available on CPAN. Others will be problematic to say the least. Cool syntaxes like open my $in, "<", $filename will likely have to be uncoolized... And now I'm rambling. But you see what I mean.

-Paul

Replies are listed 'Best First'.
Re^2: How to Run/Convert(?) Script Built on 5.8.4 to 5.004
by Burak (Chaplain) on May 08, 2007 at 19:05 UTC
    Some 5.8.x standard modules will be missing but will be available on CPAN

    If that "some" includes; Encode, utf8 and friends, they can not be installed on legacy perl. Anything unicode related will not work or will not be correct.

    Also there is an "our()" issue. If this is used, all must be replaced with "use vars"...