Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Overriding arguments in Class::Std superclass constructors

by lima1 (Curate)
on Aug 11, 2006 at 14:35 UTC ( #566846=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mysubclass->new({ myclass => { value = 23 }});
    
  2. or download this
    package myclass;
    use Class::Std;
    my %value :ATTR( :name<value> :default(1));
    
    1;
    
  3. or download this
    package mysubclass;
    use base qw(myclass);
    ...
    }
    
    1;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-09-24 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (115 votes). Check out past polls.

    Notices?