Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: include file "inline"by kutsu (Priest) |
on Mar 06, 2006 at 19:28 UTC ( [id://534741]=note: print w/replies, xml ) | Need Help?? |
Since everyone else has meantioned how to inline perl code, and seeing the use SOME::Module; and OOish construct, I'm assuming you might be asking how to create an OO module. If that's the case your half way there: The calling perl file (ie. foo.pl)
The module (ie. Guts.pm):
The key points being look at perltoot, bless, and perlobj
In Section
Seekers of Perl Wisdom
|
|