The map statement is just a short-hand way of writing a simple "for" loop.
ALL map's can be expressed as "for" (foreach) loops.
Perl generates the same code for a "map" as the equivalent "foreach" loop.
map{} is not your issue.
I think looking at Bio::Perl will lead to some suggestions for you. There are many routines optimized for the FASTA format.
In reply to Re: How do I use the map command for this?
by Marshall
in thread How do I use the map command for this?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |