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

perl -c works under 5.004 I think - identify each type of error with this and make a manual change e.g.
open my $fh, "<file.txt" or die "blah $!\n";
produces with perl -c (can run perl -c on anything including .pm files)
Can't use an undefined value as filehandle reference at blah.pl line 1 +23
So you resolve it with...
use FileHandle # ... my $fh = new FileHandle(); $fh -> open( "< file.txt" ) or die "blah $!\n";
It shouldn't take too long -- if there are too many, write a converter that implicitly splits by assigning $/ = ';', pattern-matches for each issue and does the conversion - it's not much work actually.

You'll also have to read release notes of intervening versions.

__________________________________________________________________________________

^M Free your mind!