Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: read a word from a line

by Narveson (Chaplain)
on Feb 25, 2009 at 14:16 UTC ( [id://746272]=note: print w/replies, xml ) Need Help??


in reply to read a word from a line

It's good that you're telling us the desired output, but why those two words in particular? It's a bit of a riddle. Your attempted solution gives a clue. Would the following be a good statement of the problem?

Print the word that follows each occurrence of pond in the given file.

Replies are listed 'Best First'.
Re^2: read a word from a line
by sharan (Acolyte) on Feb 25, 2009 at 17:08 UTC
    NO... my intention is to grab just the value between the brackets.. i.e. between "(" and ")". Thats why i need just end and start as output. Thanking you

      Okay, that's clearer, especially now that you've changed your desired output. In your original question your desired output was

      end process

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-16 19:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found