http://qs321.pair.com?node_id=187087

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
$targetFile = "theFile"
and I know the directory as well,
/bin/do/foo
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 .