in reply to Re: =~ matches non-existent symbols
in thread =~ matches non-existent symbols

Yes.

The file does contain non-[actg] characters: carriage returns and/or line feeds (depending on the operating system where the file was created). You need to either explicitly allow those characters or use chomp to remove them.

Replies are listed 'Best First'.
Re^3: =~ matches non-existent symbols
by Anonymous Monk on Nov 16, 2014 at 10:35 UTC
    Hi, the only chomp there that I can see is:
    chomp ( $DNA = $ARGV[0] );
    $ARGV[0] is not the file.

    Amusing...