Craig A. Berry asked:

> What exactly is your goal?  Do you just need to change
> directories for the
> duration of your Perl program?  If so, chdir() should do the trick:

What I actually needed to do was demonstrate to colleagues why we would be
better off scripting in Perl rather than DCL. So the aim was to convert one
of our DCL command procedures into Perl and show how very much simpler it
becomes.

As it happened, the command procedure chosen for the task sets the user's
default to a new directory permanently, so I had to be able to do just that!

Sandy Fleming
http://scotstext.org/

Reply via email to