in reply to Re: How would I change a10 into A:10 in perl?
in thread How would I change a10 into A:10 in perl?

As the the warnings would have told you if you'd have tried running your code with strictures:

\1 better written as $1 at ... \2 better written as $2 at ...
True laziness is hard work

Replies are listed 'Best First'.
Re^3: How would I change a10 into A:10 in perl?
by JavaFan (Canon) on Dec 03, 2010 at 11:14 UTC
    \1 and \2 are not stricture errors (use strict does not generate warnings - they are fatal errors). They are warnings, and require warnings to be turned on.