Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Searching for a string

by sharmav (Initiate)
on Feb 04, 2015 at 20:59 UTC ( [id://1115566]=perlquestion: print w/replies, xml ) Need Help??

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

Hello All, I am new to the Perl. I am trying to find a string from a file and print that string line plus 2 lines after that string

Replies are listed 'Best First'.
Re: Searching for a string
by toolic (Bishop) on Feb 04, 2015 at 21:09 UTC
Re: Searching for a string
by 2teez (Vicar) on Feb 04, 2015 at 21:07 UTC

    Hello sharmav,
    Welcome to the Monastery.
    We love to help, but then you need show what you have been able to do, and where you are having problems.
    Please read How do I post a question effectively?.

    If you tell me, I'll forget.
    If you show me, I'll remember.
    if you involve me, I'll understand.
    --- Author unknown to me
Re: Searching for a string
by ambrus (Abbot) on Feb 05, 2015 at 13:41 UTC
Re: Searching for a string
by Anonymous Monk on Feb 04, 2015 at 21:12 UTC
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found