Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: s/this/$that/ Gives Variable Name, Not Contents of Variable

by Laurent_R (Parson)
on Oct 07, 2013 at 17:16 UTC ( #1057286=note: print w/ replies, xml ) Need Help??


in reply to s/this/$that/ Gives Variable Name, Not Contents of Variable

What do you get if you hard code "stuff" in your substitution? Something like this:

s/XXYY/stuff/g;


Comment on Re: s/this/$that/ Gives Variable Name, Not Contents of Variable
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-11-27 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (186 votes), past polls