Hi all,
I am new to Perl and was wondering if anyone could help me. I am trying to read gene informations for a .fas file. The information is spread over multiple lines and has spaces inserted. When I try to read this information it only takes 80 characters at a time - I think that is the default page width. I am using the following (inside an else block):
$seq=~s/[\s\d]//g;
I thought that this would have appended all the lines that came after this command together until it broke from the loop. any help on this would be gratefully appreciated.
Regards,
Aidan
I am new to Perl and was wondering if anyone could help me. I am trying to read gene informations for a .fas file. The information is spread over multiple lines and has spaces inserted. When I try to read this information it only takes 80 characters at a time - I think that is the default page width. I am using the following (inside an else block):
$seq=~s/[\s\d]//g;
I thought that this would have appended all the lines that came after this command together until it broke from the loop. any help on this would be gratefully appreciated.
Regards,
Aidan