![]() |
|
No such thing as a small change | |
PerlMonks |
Re: replacing part of a stringby radiantmatrix (Parson) |
on May 13, 2009 at 15:48 UTC ( [id://763805]=note: print w/replies, xml ) | Need Help?? |
Hm, think about it this way:
This prints the output to STDOUT If you want to replace 'C' with the literal string '$z', then you just have to escape the $ in the above (\$z).
<–radiant.matrix–>
Ramblings and references “A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort.” — Herm Albright I haven't found a problem yet that can't be solved by a well-placed trebuchet
In Section
Seekers of Perl Wisdom
|
|