Welcome to the Monastery | |
PerlMonks |
Re: Whichby httptech (Chaplain) |
on Jun 21, 2000 at 18:18 UTC ( [id://19245]=note: print w/replies, xml ) | Need Help?? |
I don't know of a faster way, however, there are more
complete ways that take into account different platforms.
Check the Perl Power Tools implementations of which
Also, if you are using a Unix platform, you'd probably be better off using the -x (can be executed) file test rather than -e (exists).
In Section
Seekers of Perl Wisdom
|
|