Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: An interesting Perl problem to extract file content

by mjscott2702 (Pilgrim)
on Dec 08, 2010 at 10:59 UTC ( #875990=note: print w/replies, xml ) Need Help??


in reply to An interesting Perl problem to extract file content

Now is it possible to write a perl script that would extract the text starting after >firsta and before the start of - for each line?>

Yes, it is.

Also, would it be possible to extract the unmatched text from >first?

Yes, it would.

Hint - if you show what you have tried, more likely to get a helpful response.

  • Comment on Re: An interesting Perl problem to extract file content

Replies are listed 'Best First'.
Re^2: An interesting Perl problem to extract file content
by Anonymous Monk on Dec 08, 2010 at 21:53 UTC
    hi thanks..now posted my code..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://875990]
help
Chatterbox?
[jedikaiti]: Hi, Monks
[marto]: heya jedikaiti!
[jedikaiti]: Cute Robot!
[jedikaiti]: How's life, marto?
[marto]: I saw this robot the other day, pretty fancy stuff. Things are pretty good jedikaiti, improving :) How are things with you?
[jedikaiti]: Doing OK, but a little achy this AM - I think the cats were using me as a wrestling mat and mattress while I was asleep last night.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2017-07-25 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (374 votes). Check out past polls.