Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Hiding trigger code from meta

by stvn (Monsignor)
on Jan 22, 2011 at 02:54 UTC ( #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}


Comment on Re^3: Hiding trigger code from meta
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-11-26 01:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls