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

Re^9: how to read input from a file, one section at a time?

by AnomalousMonk (Archbishop)
on Apr 01, 2019 at 23:31 UTC ( [id://1231966]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $name;
    while ( my $para = <$PROTFILE> ) {
    ...
        };
        ...
    }
    
  2. or download this
    my $name;
    my %name_seen;  # fasta headers seen so far
    ...
        };
        ...
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found