I recently upgraded my Strawberry perl and my 'runperl.bat' based scripts have stopped working.
On further investigation, I find that exec no longer works - the script below will complain about line 4
# Test perl execution
system "perl -v";
system "perl", "d:\\src_test\\perl\\hi.pl";
exec "perl", "d:\\src_test\\perl\\hi.pl";
Can't exec "perl": Invalid argument at C:\Users\rattrill.EOL\Desktop\t
+est.pl line 4.
What have I done to my installation that is causing the behaviour of exec to change? Any help would be most appreciated.
Update - The problem simply was that my path had grown too long. Removing some of the junk from my %PATH% resolved the problem