sub load_seqs{ local $ARGV = qw /q1.fa q2.fa/; while(my $line = <>){ if($line =~ m/^(?!\>).*\n$/){push (@{$_[0]},$line)}; } }