Correct me if I'm wrong (which I am frequently ;) )
The system call from perl should execute the command
from your current directory. Thus, it shouldn't need to
reset the working directory (unless I've misunderstood
you). Btw, why does it need to reset the working
directory, just curious.
>I know perl, but your script isn't equivalent; it doesn't reset the
>working
>directory, which is the whole point of the script.
>
>While I write lots of things in perl (I even wrote a maze-generation
>program in perl!), I don't actually know how to get it to change the
>working directory in-line for the perl code.
>
>Do you?
>> > #! /bin/csh -f
>> >
>> > cd /home/bts/xfer
>> > /usr/bin/netscape $*
>> >