Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Extracting just the extension from a filename.

by ichimunki (Priest)
on Jul 19, 2002 at 19:33 UTC ( #183402=note: print w/replies, xml ) Need Help??


in reply to Extracting just the extension from a filename.

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().

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183402]
help
Chatterbox?
[hippo]: Congrats. I expect the resulting code to be rock solid. :)
[stevieb]: Thanks hippo, as do I, as if it's not, hardware peripherals or sensors could be destroyed (code has to be reliable when dealing with input/output voltages)
[hippo]: Aha - more Pi-based projects?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (18)
As of 2017-01-20 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.