Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How do I stop appending data

by toolic (Chancellor)
on Mar 07, 2013 at 18:00 UTC ( #1022283=note: print w/ replies, xml ) Need Help??


in reply to How do I stop appending data

Reset $protein at the top of your while loop:

while (read_fasta_sequence($fh, \%sequence_data)) { $protein = '';

If that's not what you want, then show your expected output.


Comment on Re: How do I stop appending data
Download Code
Re^2: How do I stop appending data
by 4pt8secs (Novice) on Mar 07, 2013 at 18:45 UTC

    Thanks much. That does it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-12-25 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls