> 
> Hi everyone,
> 
>    Is there a way to open a file in a folder/s above/below 
> the one the 
> script is in?  (OS is win2k),
> 
> Thanks,
>         Chris.

sorry to be brief but pressed for time. Try using the Cwd module. this way
it is easy to tell where you are, therefore easier to cd to parent or child
directories.
basic usage:
use Cwd;
$dir = cwd; #returns current working directory

docs:
http://www.perldoc.com/perl5.6/lib/Cwd.html



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to