There's more than one way to do things | |
PerlMonks |
Re: Re: Trying to learn how to build a moduleby Yoda (Sexton) |
on Feb 02, 2001 at 20:23 UTC ( [id://56013]=note: print w/replies, xml ) | Need Help?? |
Thanks! All three answers helped out. I built my constructor correctly and added the shifts into the two functions. I now get the desired output! Is there a benefit to using a constructor and object reference over just using the module and calling the functions directly Module::funct()?
I can probably find the answer in perltoot.
In Section
Seekers of Perl Wisdom
|
|