Workflow
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Workflow/Factory.pm view on Meta::CPAN
return _initialize_instance($class);
}
sub _initialize_instance {
my ($class) = @_;
my $log = get_logger(__PACKAGE__);
unless ( $INSTANCES{$class} ) {
$log->debug( "Creating empty instance of '$class' factory for ",
"singleton use" );
my $instance = bless {} => $class;
$instance->init();
$INSTANCES{$class} = $instance;
}
return $INSTANCES{$class};
}
sub _delete_instance {
my ($class) = @_;
my $log = get_logger(__PACKAGE__);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.944 second using v1.00-cache-2.02-grep-82fe00e-cpan-cec75d87357c )