Which I think, you didn't, as the test still favour the solution that uses two substitutions - just naming it one_sub doesn't change that.
In reply to Re^6: Removing Flanking "N"s in a DNA String
by Perl Mouse
in thread Removing Flanking "N"s in a DNA String
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |