defined $seq ? push @fasta, $seq : push @fasta, "> COULDN'T FIND IT" ;
You can save a few (meagre) keystrokes and make the statement more readable (IMO):
push( @fasta, defined($seq) ? $seq : "> COULDN'T FIND IT" );
In reply to Re^2: LWP::Simple problems
by saskaqueer
in thread LWP::Simple problems
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |