Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Basic Class question

by Anonymous Monk
on Aug 21, 2013 at 13:13 UTC ( [id://1050345]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Basic Class question
in thread Basic Class question

One small question: how come the id method isn't expecting the class name as it's first argument?

Class methods expect class names (string)

Instance methods expect objects (blessed reference)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2024-04-24 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found