- or download this
my $string = quotemeta shift;
die "Not a valid nucleotide sequence" if $string =~ /[^AGTC]/;
- or download this
my $string = "TGAT";
my @nts = map {
my $tmp = $string;
...
{
print "Matched $1 ending at position ", pos $sample, "\n";
}
- or download this
@_=qw;
Just another Perl hacker,;
;$_=q=print
"@_"= and eval;