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 studying the Monastery: (8)
As of 2014-09-18 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls