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

Re: inheritance turns back and bites

by stvn (Monsignor)
on Mar 01, 2004 at 19:35 UTC ( #333025=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # sub new { bless \pop, shift }
    sub new { my $self = pop; bless \$self, shift }
    
  2. or download this
    MyNumber->new([ 0 .. 100 ]);
    MyNumber->new({ test => 1});
    MyNumber->new(*STDOUT);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-07-31 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (253 votes), past polls