Kazuhiro Osawa > Module-Collect > Module::Collect::Package

Download:
Module-Collect-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

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.

syntax highlighting: