in reply to Re: =~ matches non-existent symbols
in thread =~ matches non-existent symbols
use strict; use warnings; my $bad = 0; while (<>) { if (!/^[actg]+$/i) { ++$bad; last; } } print $bad ? "BAD\n" : "OK\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: =~ matches non-existent symbols
by rnewsham (Curate) on Nov 18, 2014 at 22:34 UTC |