Class-Load
view release on metacpan or search on metacpan
- Under taint mode, setting an implementation in the CLASS_LOAD_IMPLEMENTATION
env var caused a taint error.
- An invalid value in the CLASS_LOAD_IMPLEMENTATION env var is now detected
and reported immediately. No attempt is made to load an invalid
implementation.
0.13 2011-12-22
- Fix some bugs with our use of Try::Tiny. This could cause warnings on some
systems with Class::Load::XS wasn't installed. Fixes RT #72345.
0.12 2011-10-25
- Depend on Module::Runtime 0.011+. This fixes problems with Catalyst under
Perl 5.8 and 5.10.
0.11 2011-10-04
- Don't accept package names that start with a digit. ( Jesse Luehrs )
},
"runtime" : {
"requires" : {
"Carp" : "0",
"Data::OptList" : "0.110",
"Exporter" : "0",
"Module::Implementation" : "0.04",
"Module::Runtime" : "0.012",
"Package::Stash" : "0.14",
"Scalar::Util" : "0",
"Try::Tiny" : "0",
"base" : "0",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900"
},
file: lib/Class/Load/PP.pm
version: '0.25'
requires:
Carp: '0'
Data::OptList: '0.110'
Exporter: '0'
Module::Implementation: '0.04'
Module::Runtime: '0.012'
Package::Stash: '0.14'
Scalar::Util: '0'
Try::Tiny: '0'
base: '0'
perl: '5.006'
strict: '0'
warnings: '0'
resources:
IRC: irc://irc.perl.org/#moose
MailingList: http://lists.perl.org/list/moose.html
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Class-Load
homepage: https://github.com/moose/Class-Load
repository: https://github.com/moose/Class-Load.git
Makefile.PL view on Meta::CPAN
"MIN_PERL_VERSION" => "5.006",
"NAME" => "Class::Load",
"PREREQ_PM" => {
"Carp" => 0,
"Data::OptList" => "0.110",
"Exporter" => 0,
"Module::Implementation" => "0.04",
"Module::Runtime" => "0.012",
"Package::Stash" => "0.14",
"Scalar::Util" => 0,
"Try::Tiny" => 0,
"base" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.88",
"Test::Needs" => 0,
Makefile.PL view on Meta::CPAN
"Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Module::Implementation" => "0.04",
"Module::Runtime" => "0.012",
"Package::Stash" => "0.14",
"Scalar::Util" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.88",
"Test::Needs" => 0,
"Try::Tiny" => 0,
"base" => 0,
"constant" => 0,
"lib" => 0,
"strict" => 0,
"version" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
lib/Class/Load.pm view on Meta::CPAN
package Class::Load; # git description: v0.24-5-g22a44fd
# ABSTRACT: A working (require "Class::Name") and more
# KEYWORDS: class module load require use runtime
our $VERSION = '0.25';
use base 'Exporter';
use Data::OptList 0.110 ();
use Module::Implementation 0.04;
use Module::Runtime 0.012 ();
use Try::Tiny;
{
my $loader = Module::Implementation::build_loader_sub(
implementations => [ 'XS', 'PP' ],
symbols => ['is_class_loaded'],
);
$loader->();
}
lib/Class/Load/PP.pm view on Meta::CPAN
use strict;
use warnings;
package Class::Load::PP;
our $VERSION = '0.25';
use Module::Runtime ();
use Package::Stash 0.14;
use Scalar::Util ();
use Try::Tiny;
sub is_class_loaded {
my $class = shift;
my $options = shift;
my $loaded = _is_class_loaded($class);
return $loaded if ! $loaded;
return $loaded unless $options && $options->{-version};
t/00-report-prereqs.dd view on Meta::CPAN
},
'runtime' => {
'requires' => {
'Carp' => '0',
'Data::OptList' => '0.110',
'Exporter' => '0',
'Module::Implementation' => '0.04',
'Module::Runtime' => '0.012',
'Package::Stash' => '0.14',
'Scalar::Util' => '0',
'Try::Tiny' => '0',
'base' => '0',
'perl' => '5.006',
'strict' => '0',
'warnings' => '0'
}
},
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900'
},
( run in 0.406 second using v1.01-cache-2.11-cpan-bfdf9f6cde5 )