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

Re: Move along, nothing to see here . . .

by Anonymous Monk
on Jan 23, 2012 at 07:33 UTC ( [id://949321]=note: print w/replies, xml ) Need Help??


in reply to Move along, nothing to see here . . .

If you have 5.14 (or 5.13.2 ) you could use the /r flag
my $old = 'cat'; my $new = $old =~ s/.+/dog/r; ## $old still 'cat' ## $new is 'dog'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-25 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found