You've done well in simplifying the problem to a short set which duplicates the fault, but I get the impression you are sticking with print statements, and avoiding your debugger.
I would suggest tracing the code into the constructor, and exploring what $self contains just before the return. What does $tmpl contain after you return from the module?
P.S. You have 'use strict' in your main script, but not where you need it, in the module.
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: blessing a hash ref?
by TomDLux
in thread blessing a hash ref?
by stonecolddevin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |