in reply to Re^2: pattern matching
in thread pattern matching

- # Substitute as required. - $indata =~ s/XYZATGC/XYZ/g; + # This is not terribly efficient. + my @outdata = split q|ATGC|, $indata; + $indata = $outdata[0];
I'm not the guy you kill, I'm the guy you buy. —Michael Clayton