Perl: the Markov chain saw | |
PerlMonks |
checking for a fileby splitOnce (Acolyte) |
on Aug 02, 2002 at 13:53 UTC ( [id://187087]=perlquestion: print w/replies, xml ) | Need Help?? |
splitOnce has asked for the wisdom of the Perl Monks concerning the following question:
Hello guys, I know this is an easy one but since I am new , I would have problems like this :
I need to check weather a file exists or not under a certain directory ,,
the file
and I know the directory as well, so I need to know if it exists under foo, knowing that I am not under foo when searching for that file or I could be as well, I tried the -e and local but don't seem to work ,, thanks for hints on this one .
Back to
Seekers of Perl Wisdom
|
|