> I use Class::Accessor. When you create a new obj you call it with a > hashref: > > my $obj = Class->new({ foo => 42 }); Now you can add another parm to the constructor if you want. If it's all key/value pairs, then you can't. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance