Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Object method prototypes?

by moritz (Cardinal)
on Dec 14, 2007 at 00:07 UTC ( [id://656947]=note: print w/replies, xml ) Need Help??


in reply to Object method prototypes?

Prototypes on methods are ignored because prototypes essentially change the way perl parses the code.

And since the type of a reference is not known at compile time, the parser has no way to find out if there is a prototype to a method, and if yes, which.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found