There's more than one way to do things | |
PerlMonks |
Re^2: How do I pass $1 to s///?by Anonymous Monk |
on Jan 06, 2006 at 17:03 UTC ( [id://521543]=note: print w/replies, xml ) | Need Help?? |
> your programme prints "This is fish". ...and gives a warning about $1 being uninitialised :( > What did you expect it to print? "This is fish 1"? Yeah. I've tried "fish \1", "fish \\1", "fish \\\1" as well though with no more luck!
In Section
Seekers of Perl Wisdom
|
|