Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

calling anonymous objects by their names

by aufrank (Pilgrim)
on Jul 25, 2003 at 20:53 UTC ( [id://277973]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    nodes:  input, n1, n2, output
    input => n1
    input => n2
    n1 => output
    n2 => output
    
  2. or download this
    $model->connect('input','n1');
    $model->connect('input','n2');
    $model->connect('n1','output');
    $model->connect('n2','output');
    
  3. or download this
    sub new {
        my $class = shift;
    ...
        bless $self, $class;
        return $self;
    }
    
  4. or download this
    sub name {
        my $self = shift;
        $self -> {NAME} = shift if (@_);
        return $self -> {NAME};
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-24 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found