Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Multiple inheritance with multiple contructors?

by LanceDeeply (Chaplain)
on Aug 09, 2002 at 20:36 UTC ( #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
Node Status?
node history
Node Type: note [id://189033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-06-22 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (105 votes). Check out past polls.

    Notices?