in reply to (tye)Re: How to make only two of three substitutions?
in thread How to make only two of three substitutions?
That won't work. $_ gets aliased in the for loop to the constants '1' and '2'. You could get away with:s#/## for 1,2;
Though, its not real pretty...for my $i (1,2) { s#/## }
-Blake
|
|---|