Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Multiple inheritance with multiple contructors?

by LanceDeeply (Chaplain)
on Aug 09, 2002 at 20:36 UTC ( [id://189033]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package foo;
    use strict;
    ...
        return $self->{_foo};
    }
    1;
    
  2. or download this
    package bar;
    use strict;
    ...
        return $self->{_bar};
    }
    1;
    
  3. or download this
    package foobar;
    use strict;
    ...
        return $self->foo() . $self->bar();
    }
    1;
    
  4. or download this
    use strict;
    use foobar;
    ...
        my $fb = new foobar( foo=>'Lance', bar=>'Deeply' );
        print $fb->getFooBar() ."\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://189033]
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-03-28 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found