Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Workings of UNIVERSAL::can

by Somni (Friar)
on Jul 07, 2011 at 00:12 UTC ( #913108=note: print w/replies, xml ) Need Help??


in reply to Re^2: Workings of UNIVERSAL::can
in thread Workings of UNIVERSAL::can

The fact that mro is changeable is why I said method resolution order, and not a specific order.

Taken individually, each of the items is not an algorithm. Taken together (symbol table search in method resolution order), it is an algorithm, though ill-specified due to the variable of which mro is in effect.

Replies are listed 'Best First'.
Re^4: Workings of UNIVERSAL::can
by Anonymous Monk on Jul 08, 2011 at 08:38 UTC

    Taken individually, each of the items is not an algorithm. Taken together (symbol table search in method resolution order), it is an algorithm, though ill-specified due to the variable of which mro is in effect.

    No, taken together, it is still not an algorithm. An algorithm is well-defined by definition.

    Also, its just repeating the question back at the original poster. The answer might work for "how do I print $foo?" (well, you print $foo;), but not here.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2023-12-01 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?