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

Re: •Re: Re: •Re: Detecting function vs method in an AUTOLOAD?

by Corion (Pope)
on Apr 12, 2004 at 19:25 UTC ( #344490=note: print w/replies, xml ) Need Help??


in reply to •Re: Re: •Re: Detecting function vs method in an AUTOLOAD?
in thread Detecting function vs method in an AUTOLOAD?

Even today, in Perl5, I'd write that as

$object->$meth($arg1,$arg2);

but it's clear that one or the other should be there, and not something ugly like

apply($object,$method,$arg1,$arg2);
or, assuming that can returned a bound method,
my $meth_ref = $object->can($method); apply($meth_ref,$arg1,$arg2);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344490]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-12-11 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (285 votes). Check out past polls.

    Notices?