diff options
Diffstat (limited to 'cpan/Module-Load-Conditional')
-rw-r--r-- | cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm | 4 | ||||
-rw-r--r-- | cpan/Module-Load-Conditional/t/01_Module_Load_Conditional.t | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm b/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm index 1bceb4432d..ba597a23a0 100644 --- a/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm +++ b/cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm @@ -339,7 +339,7 @@ sub _parse_version { ### the following regexp & eval statement comes from the ### ExtUtils::MakeMaker source (EU::MM_Unix->parse_version) ### Following #18892, which tells us the original - ### regex breaks under -T, we must modifiy it so + ### regex breaks under -T, we must modify it so ### it captures the entire expression, and eval /that/ ### rather than $_, which is insecure. my $taint_safe_str = do { $str =~ /(^.*$)/sm; $1 }; @@ -607,7 +607,7 @@ The default is 1; This controls whether C<Module::Load::Conditional> checks your C<%INC> hash to see if a module is available. By default, only C<@INC> is scanned to see if a module is physically on your -filesystem, or avialable via an C<@INC-hook>. Setting this variable +filesystem, or available via an C<@INC-hook>. Setting this variable to C<true> will trust any entries in C<%INC> and return them for you. diff --git a/cpan/Module-Load-Conditional/t/01_Module_Load_Conditional.t b/cpan/Module-Load-Conditional/t/01_Module_Load_Conditional.t index b5d78c7a5d..7a51266e6b 100644 --- a/cpan/Module-Load-Conditional/t/01_Module_Load_Conditional.t +++ b/cpan/Module-Load-Conditional/t/01_Module_Load_Conditional.t @@ -120,7 +120,7 @@ use_ok( 'Module::Load::Conditional' ); my $rv = check_install( module => 'Module::Does::Not::Exist' ); ok( !$rv->{uptodate} && !$rv->{version} && !$rv->{file}, - q[Verify non-existant module] + q[Verify non-existent module] ); } |