http://www.perlmonks.org?node_id=995637


in reply to How can I define the subroutine to get the result of the appended string i.e. ATGCTTTT?

Excellent question, supriyoch_2008. You concisely demonstrated what you're trying to accomplish. The post shows that your goal is to learn a new Perl technique. You did a good job of explaining what your expectation is, and what's happening instead. This is a nice step forward.