The stupid question is the question not asked | |
PerlMonks |
Re^2: Don't know how to make a module for this repeating codeby exilepanda (Friar) |
on Nov 24, 2012 at 17:06 UTC ( [id://1005399]=note: print w/replies, xml ) | Need Help?? |
Thanks for answering, and helped me to think deeper for what is my question...
So, I think my problem is not worrying how to create this package. Perhaps I can make a module to auto update the interface version triggered by the implementation classes as well. But then, seems what really interested me is how to eliminate this kind of "code", when this code is a constructor. like.. can I eval() some text which return from a package that carrying the script body etc..
In Section
Seekers of Perl Wisdom
|
|