http://qs321.pair.com?node_id=502209


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..