http://www.perlmonks.org?node_id=996857


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:

package First; use Params::Validate qw(validate :types); sub new{ ... } ...
And to use the module, then you use
use strict; use warnings; use First; ...
check these: perlmod, perlmodlib, etc

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me