Of course the basename_env solution takes the longest .. %ENV is a tied hash.
But then, it *is* portable (if unnecessary under UNIX). And let's be honest, you won't be calling it 1,000,000 times in a given program; I'd be surprised if you called it more than once.
dmm
In reply to Re(2): Win32 Apache && File::Basename
by dmmiller2k
in thread Win32 Apache && File::Basename
by Flame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |