On Wed, 28 Jul 2004 14:04:26 -0400 (EDT), Jeff 'japhy' Pinyan wrote
> On Jul 28, perl.org said:
> 
> I would use File::Basename so that I can be sure it works on all
> platforms.  What is your take on files with multiple extensions, like
> program.pl.bak or jeff.pinyan.txt?

Excellent point about basename - I knew of the module, not sure why I didn't
use it.  For multi-extension files (which there shouldn't be, it's a website)
I just want the last extension.  Now to find out which basename returns...

Thanks,

   -John





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to