in reply to Re^2: Getting rid of "new" (superfluous reference constructor)--
in thread Getting rid of "new"
An alternative:
use Data::Heap::Whatever 1.1 ( Factory => my $Heap, ...
But the passing of a reference has two purposes:
I don't have a strong preference (other than wishing use could return a factory), though.
- tye
|
|---|