if ( defined $seq ) { # ... $seq = '';
empty strings are defined, you may either want to assign undef or just use that '' is false.
Cheers Rolf
( addicted to the Perl Programming Language)
¹) that is w/o trying to understand the full intended logic
In reply to Re: Reading file into a hash
by LanX
in thread Reading file into a hash
by PerlSufi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |