Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: can't get $& to remove value in a substitutionby CubicSpline (Friar) |
on Oct 24, 2002 at 12:39 UTC ( [id://207678]=note: print w/replies, xml ) | Need Help?? |
I don't really see a problem with the code. In fact, copying your code to my machine and running it seems to give the result you are looking for.
Output:
I did notice that the output you're giving in your question doesn't match the order in which the print statements appear in the code. Perhaps you're looking at old output?
~CubicSpline
In Section
Seekers of Perl Wisdom
|
|