Find file in search path?
Christopher Milton
cmiltonperl at yahoo.com
Thu Dec 20 15:33:24 CST 2001
--- Steve Smythe <ssmythe at docent.com> wrote:
> Is there a module that will return the path of a file in
> the current system search path? I've been looking
> for something, and haven't found anything.
>
> I guess the equivalent of the Unix 'which' command.
http://www.perl.com/language/ppt/src/which/index.html
You could also use a combo of Env::Path, File::Find, and/or
Psh::Builtins::Which
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
More information about the Pikes-peak-pm
mailing list