Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How to match the sequences with headers

by Lotus1 (Vicar)
on Oct 23, 2011 at 16:07 UTC ( [id://933218]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to match the sequences with headers
in thread How to match the sequences with headers

At the beginning of your program put in $/="\n\n";

Then inside the while loop if $_ matches 'sequence' print $_ to out1; if it matches 'secstr' print $_ to out2.

Log In?
Username:
Password:

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

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

    No recent polls found