in reply to Determining what new and init methods do
I've create initializers when I needed a method that was only called once the object was fully contructed. For example,
my $store = MyStore->new($data);
might prevent MyStore from being subclassable. The alternative would be
my $store = MyStore->new(); $store->load($data);
|
|---|