Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: regex to rename last _ with ,

by choroba (Cardinal)
on Sep 11, 2014 at 13:07 UTC ( [id://1100292]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $file = reverse $file;
    $file =~ s/_/,/;
    $file = reverse $file;
    
  2. or download this
    $file =~ s/_([^_]*)/,$1/;
    my $rest = $1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-05-25 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found