I don't know if you have permissions but this shell give a path to you use File::Spec; use FindBin; use lib (File::Spec->join($FindBin::Bin, "..", ".."));
File::Spec gives allot of path function FindBin gives information about the script directory $FindBin::Bin directory where your script is, Marcos -----Original Message----- From: Voodoo Raja [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 7:15 AM To: [EMAIL PROTECTED] Subject: Unix style to move and write two level up Hi all I am wandering if there is a way to specify my cgi script to=20 write a file in a directory which is two level up.. curently I am able to write to images folder which is located in My = /cgi-bin/images. instead I would like to move two level up and write to the Root where = the cgi-bin is side by side the another images folder. any piece of code will be appreciated. thanxz sam -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]