Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Method Calls on multiple objects

by bart (Canon)
on Mar 27, 2004 at 00:13 UTC ( [id://340169]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub AUTOLOAD {
        my $self = shift;
    ...
            $self->$AUTOLOAD(@_);
        }
    }
    
  2. or download this
    my $obj_multi = MulitiObject->new( $obj_1, $obj_2 );
    $obj_multi->foo($x, $y);          # $obj_1->foo($x, $y);  $obj_2->foo(
    +$x, $y);
    
  3. or download this
    sub new {
        my $class = shift;
        return bless [ @_ ], $class;
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found