Do you know where your variables are? | |
PerlMonks |
Re: Regex Interpolationby httptech (Chaplain) |
on Jun 24, 2000 at 05:16 UTC ( [id://19688]=note: print w/replies, xml ) | Need Help?? |
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/;
In Section
Seekers of Perl Wisdom
|
|