Just a cent addition to what has been said:
Please, you don't EXPORT any subroutine from module that is written to be OO.
So, your usage should be:
And to use the module, then you usepackage First; use Params::Validate qw(validate :types); sub new{ ... } ...
check these: perlmod, perlmodlib, etcuse strict; use warnings; use First; ...
In reply to Re: Modify the Object
by 2teez
in thread Modify the Object
by sathish_cudd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |