in reply to Modify the Object
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; ...
|
|---|