Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Regex To Remove File Extension (rindex)

by almut (Canon)
on Dec 10, 2008 at 21:50 UTC ( #729520=note: print w/ replies, xml ) Need Help??


in reply to Re: Regex To Remove File Extension (rindex)
in thread Regex To Remove File Extension

...or, using substr() as an lvalue:

substr($n,rindex $n,'.') = '';


Comment on Re^2: Regex To Remove File Extension (rindex)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729520]
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: (15)
As of 2015-07-02 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls