in reply to Re^2: Hiding trigger code from meta
in thread Hiding trigger code from meta
Honestly, I see no reason why you would be worried about someone calling check_id, it will never blow up on them since it will always check the id which is already set. If you want to discourage people from calling it, name it _check_id.
Also, you shouldn't access the hash directly, you should call $self->id not $self->{id}
-stvn
In Section
Seekers of Perl Wisdom