in reply to Which
How fixed are the contents of your path?
You might consider building a hash where the keys are the filenames and the values are the paths. You could build the hash using a program (why not call it rehash like the csh does) and tie it to a DBM file. Your which script would then only have to look up the filename in the tied hash.
--
<http://www.dave.org.uk>
European Perl Conference - Sept 22/24 2000
<http://www.yapc.org/Europe/>
|
|---|