http://www.perlmonks.org?node_id=1004629


in reply to Re: parsing a line
in thread parsing a line

Substituting print "$1\n" if $abc =~ /PickMaster 3:(.*)/; works, too. Is there any reason not to use it? Seems a lot more readable.

Replies are listed 'Best First'.
Re^3: parsing a line
by Kenosis (Priest) on Nov 19, 2012 at 22:55 UTC

    Yes--much better.