Class-Generate
view release on metacpan or search on metacpan
lib/Class/Generate.pm view on Meta::CPAN
return
sprintf
qq|$cm: Invalid specification of %s "%s" ($sh_needed with "%s" key)|,
@_;
};
package Class::Generate::Class_Holder; # This package encapsulates functions
$Class::Generate::Class_Holder::VERSION = '1.18';
use strict; # related to storing and retrieving
# information on classes. It lets classes
# saved in files be reused transparently.
my %classes;
sub store($)
{ # Given a class, store it so it's
my $class = $_[0]; # accessible in future invocations of
$classes{ $class->name } = $class; # class() and subclass().
}
# Given a class name, try to return an instance of Class::Generate::Class
# that models the class. The instance comes from one of 3 places. We
( run in 0.487 second using v1.01-cache-2.11-cpan-0a6323c29d9 )