Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2015-07-01 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (19 votes), past polls