Nov 28, 2012, 12:51 AM
Post #14 of 14
In the case ./my_script.pl you are right, of course (though I, being lazy, and lucky enough not being bitten yet, still prefer less typing), but in the case of the example you gave (./some_directory/my_script.pl), PATH searching isn't done anyway. But I agree: If you always prepend your relpathes by ./, you don't have to think about this difference, and you are always on the safe side.
Re: [Laurent_R] accessing files with script
[In reply to]
With respect to safety, I'm a bad guy anyway, because I have "." in my PATH.... ;-)