Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Regex Interpolation

by httptech (Chaplain)
on Jun 24, 2000 at 05:16 UTC ( [id://19688]=note: print w/replies, xml ) Need Help??


in reply to Regex Interpolation

Curly braces should do the trick here, to separate your variable name from the '1': print "Success!\n" if $retVal =~ s/showpos=1/showpos=${main::pageVar}1/;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-05-18 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found