|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Replace methodby rsiedl (Friar) |
| on Mar 12, 2006 at 18:24 UTC ( [id://536167]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
Hey Monks, I'm attempting to do a one-liner s/replace/ and its not doing what I thought it would. Could someone explain the following for me? My thinking was that this would assign the page_name.pl to $mdl, and leave the $page var as page_name.tmpl. But it doesnt... Cheers.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||