I'm having a tough time using chdir in different versions of perl in a dos window (XP). In early versions of Perl 5.x it works just fine. I have a bat file that dynamically sets my perl path to either 5.0.x or to 5.8.8:
Expand|Select|Wrap|Line Numbers
- path %path%;c:\perl\[whichever]
Expand|Select|Wrap|Line Numbers
- $dirLocation ='c:\[whatever]';
- chdir $dirLocation or die "Can't cd to $dirLocation: $!\n";
Thanks for any help.
John