Algorithm-Dependency
view release on metacpan or search on metacpan
lib/Algorithm/Dependency/Source.pm view on Meta::CPAN
items_array => undef,
}, $class;
$self;
}
#pod =pod
#pod
#pod =head2 load
#pod
#pod The C<load> method is the public method used to actually load the items from
#pod their storage location into the the source object. The method will
#pod automatically called, as needed, in most circumstances. You would generally
#pod only want to use C<load> manually if you think there may be some uncertainty
#pod that the source will load correctly, and want to check it will work.
#pod
#pod Returns true if the items are loaded successfully, or C<undef> on error.
#pod
#pod =cut
sub load {
lib/Algorithm/Dependency/Source.pm view on Meta::CPAN
The constructor takes zero or more subclass specific arguments to define the
location of the source of the items, and returns a new object. Although it
may check that the arguments you passed are valid, the source will usually
NOT actually load the items from the source, instead deferring the loading
until you need to use the items.
Returns a new object on success, or C<undef> on error.
=head2 load
The C<load> method is the public method used to actually load the items from
their storage location into the the source object. The method will
automatically called, as needed, in most circumstances. You would generally
only want to use C<load> manually if you think there may be some uncertainty
that the source will load correctly, and want to check it will work.
Returns true if the items are loaded successfully, or C<undef> on error.
=head2 item $name
The C<item> method fetches and returns the item object specified by the
( run in 0.310 second using v1.01-cache-2.11-cpan-64827b87656 )