good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Hash ref and file extensionsby submersible_toaster (Chaplain) |
on Aug 17, 2003 at 01:32 UTC ( [id://284382]=note: print w/replies, xml ) | Need Help?? |
Depending on how much of the work you really need to do yourself, File::Basename is a option. Of course that is a regex being performed by File::Basename, YMMV. Update: Totally untested , looks OK to me. I can't believe it's not psellchecked
In Section
Seekers of Perl Wisdom
|
|