/path/to/perl5.006/bin/perl -cw script1 > script1.5.006.errs 2>&1 /path/to/perl5.005/bin/perl -cw script1 > script1.5.005.errs 2>&1 etc.