Think about Loose Coupling | |
PerlMonks |
Re: (tye)Re: How to make only two of three substitutions?by blakem (Monsignor) |
on Oct 15, 2002 at 20:16 UTC ( [id://205497]=note: print w/replies, xml ) | Need Help?? |
That won't work. $_ gets aliased in the for loop to the constants '1' and '2'. You could get away with: Though, its not real pretty... -Blake
In Section
Seekers of Perl Wisdom
|
|