Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: How do I stop appending data

by toolic (Bishop)
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.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-07-29 07:56 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (260 votes). Check out past polls.