in reply to How to expand a string

A search for “DNA” at http://search.cpan.org produced 282 hits...

Maybe you actually don't have to write a program at all...