Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Hiding trigger code from meta

by stvn (Monsignor)
on Jan 22, 2011 at 02:54 UTC ( [id://883652]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://883652]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found