Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

how to print word next to pattern match??

by sumathigokul (Acolyte)
on May 18, 2015 at 12:49 UTC ( [id://1126989]=perlquestion: print w/replies, xml ) Need Help??

sumathigokul has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on how to print word next to pattern match??

Replies are listed 'Best First'.
Re: how to print word next to pattern match??
by vinoth.ree (Monsignor) on May 18, 2015 at 13:25 UTC

    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...

      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". ;-)
Re: how to print word next to pattern match??
by hippo (Archbishop) on May 18, 2015 at 13:06 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1126989]
Approved by hdb
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2025-06-21 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.