in reply to Class::MethodMaker initialization of default values
Hi !!
i think this would be better , if you want to make b's value to be default ..
use constant SOMENAME ( a => 10, b=> 'DEFAULT');
The rest is yours.. the code you've given will work fine..
|
---|
In Section
Seekers of Perl Wisdom