in reply to how to print word next to pattern match??

I understand that you want a word after the patten match in a line, for this why do not you read this first

Grouping things and hierarchical matching

Moreover you said you want a word read about word boundary that will help you.


All is well. I learn by answering your questions...
  • Comment on Re: how to print word next to pattern match??

Replies are listed 'Best First'.
Re^2: how to print word next to pattern match??
by afoken (Chancellor) on May 18, 2015 at 15:22 UTC

    Don't waste your time here: sumathigokul has a long record of abusing perlmonks.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)