Alien-Packages
view release on metacpan or search on metacpan
lib/Alien/Packages.pm view on Meta::CPAN
=back
can be specified with a true value. This forces to grep C<%INC> instead
of using Module::Pluggable.
=cut
sub new
{
my ( $class, %attrs ) = @_;
my $self = bless( { plugins => [], }, $class );
my $only_loaded = delete $attrs{only_loaded};
if ($only_loaded)
{
my @search_path = __PACKAGE__ eq $class ? (__PACKAGE__) : ( __PACKAGE__, $class );
foreach my $path (@search_path)
{
$path =~ s|::|/|g;
$path .= "/";
lib/Alien/Packages/Base.pm view on Meta::CPAN
$_[0]->isa('Alien::Packages::Base') and shift;
my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = IPC::Cmd::run(@_);
$stdout_buf = [ join( "", @$stdout_buf ) ];
$stderr_buf = [ join( "", @$stderr_buf ) ];
return ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf );
}
sub new
{
my $class = $_[0];
my $self = bless( {}, $class );
return $self;
}
=head2 pkgtype
Returns the pkgtype
=cut
sub pkgtype
( run in 0.889 second using v1.01-cache-2.11-cpan-de7293f3b23 )