Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Extracting just the extension from a filename.

by krujos (Curate)
on Jul 20, 2002 at 05:29 UTC ( #183556=note: print w/ replies, xml ) Need Help??


in reply to Extracting just the extension from a filename.

What about $filename=~/\.(\S+)\s/ Just a thought...

Replies are listed 'Best First'.
Re: Re: Extracting just the extension from a filename.
by krujos (Curate) on Jul 20, 2002 at 19:35 UTC
    Why the down vote? At least explain what is so horrible about my solution please.
    Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183556]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-08-29 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (398 votes). Check out past polls.