in reply to Arrays and Files
#!/usr/local/bin/perl -w use strict; my (@seq, $x); open (F, "< xyz") || die "Cannot open file\n"; while (<F>) { chomp($_); if (length($_) > 0) { $seq[$x] .= $_; } else { $x++; } } [download]