XP is just a number | |
PerlMonks |
Re: Extracting just the extension from a filename.by ichimunki (Priest) |
on Jul 19, 2002 at 19:33 UTC ( [id://183402]=note: print w/replies, xml ) | Need Help?? |
With a core module: File::Basename-- although this leaves the dot on the suffix, so you'll still want to use s/^\.// on the results on the call to fileparse().
In Section
Seekers of Perl Wisdom
|
|