hello I am having a bit of an issue (i am new to perl)
i have written a script that is supposed to read a FASTA file hopefully this will scroll through the file search for ">" and header (it does this). then save this line and the next line in two separate scalars. but it stops after reading the next line? does anyone know why this is? or how i can make it so that it carries on reading the file after finding the 1st correct sequence?? this is my code. thank you.
my($filename) = "fasta.txt";
if($line=~/^>/ and $line =~ /unknown/ )