The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Module::Collect::Package - package abstract class for Module::Collect

SYNOPSIS

  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;

AUTHOR

lopnor

Kazuhiro Osawa

SEE ALSO

Module::Collect

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.