[Israel.pm] How to "which" in Perl

David Baird david.baird at homemail.com
Sun Jan 25 06:24:58 PST 2004


Mongers,

Does anyone know how to do "which" in pure Perl? I would like to find
the execution path of a command through a "perl -e" operation for a GNU
Make $(shell ) macro. I am running on Windows XP with ActivePerl 5.6.1.
I don't have a which command available, and do not want to require
Cygwin.

Thanks,
David





More information about the Perl mailing list