Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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,'.') = '';

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729520]
help
Chatterbox?
LanX Most entertaining ...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-10-23 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?