- or download this
package My::New::OptionObject;
use Moose;
...
}
);
- or download this
my $o = My::New::Object->new(
options => { ... pass in the args to the options here ... }
);
- or download this
$o->clear_options;
- or download this
$o->set_all_options( { ... } );