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


in reply to Re^2: to get next line of pattern matched
in thread to get next line of pattern matched

Same problem as your other post: $& vs $1. See Perl Special Variables

Replies are listed 'Best First'.
Re^2: apalogies
by ansh batra (Friar) on Jan 07, 2013 at 10:28 UTC
    it not working even if i change $& to $1