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 Marshall (Canon)
on Oct 07, 2013 at 23:37 UTC ( [id://1057329]=note: print w/replies, xml ) Need Help??


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

I've seen the other Monks post's on this. I can't see how to replicate your problem either.

I would suggest that you get to the basics. Forget this file I/O stuff and just get to some simple example of the substitution involved. That may help you figure this out yourself. Of course the standard advice of "use strict; use warnings;" is often helpful.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found