Module::Collect::Package - package abstract class for Module::Collect
use Module::Collect::Package; my $package = Module::Collect::Package->new( path => 'foo/bar/baz.pm', package => 'Baz', ); print $package->path; # foo/bar/baz.pm print $package->package; # Baz $package->require; # same require 'foo/bar/baz.pm'; $package->new; # same Baz->new;
lopnor
Kazuhiro Osawa
Module::Collect
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Module::Collect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Collect
CPAN shell
perl -MCPAN -e shell install Module::Collect
For more information on module installation, please visit the detailed CPAN module installation guide.