Skip to content

Commit

Permalink
clean up other references to DeferedCode
Browse files Browse the repository at this point in the history
git-svn-id: https://pause.perl.org:5460/svn/cpanpm/trunk@3557 81f69c26-07c4-0310-b1c3-f486c8728884
  • Loading branch information
xdg committed Nov 24, 2008
1 parent 440a246 commit 2f627a1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/cp-to-perl.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
lib/CPAN.pm
lib/CPAN/API/HOWTO.pod
lib/CPAN/Debug.pm
lib/CPAN/DeferedCode.pm
lib/CPAN/DeferredCode.pm
lib/CPAN/Distroprefs.pm
lib/CPAN/FirstTime.pm
lib/CPAN/HandleConfig.pm
Expand Down
2 changes: 1 addition & 1 deletion lib/CPAN/FirstTime.pm
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ Use CPAN::SQLite if available? (yes/no)?
Both YAML.pm and YAML::Syck are capable of deserialising code. As this
requires a string eval, which might be a security risk, you can use
this option to enable or disable the deserialisation of code via
CPAN::DeferedCode. (Note: This does not work under perl 5.6)
CPAN::DeferredCode. (Note: This does not work under perl 5.6)
Do you want to enable code deserialisation (yes/no)?
Expand Down
2 changes: 1 addition & 1 deletion t/03pkgs.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use lib "lib";
my @m;
if ($ENV{PERL_CORE}){
@m = ("CPAN", map { "CPAN::$_" } qw(Debug
DeferedCode
DeferredCode
Distroprefs
FirstTime
Kwalify
Expand Down
4 changes: 2 additions & 2 deletions t/12cpan.t
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ require CPAN::HandleConfig;
is($::yaml_load_code_works, 0, 'running the code did the right thing');

my $obj = $data->{object};
isa_ok($obj, 'CPAN::DeferedCode');
isa_ok($obj, 'CPAN::DeferredCode');
local $^W;
my $dummy = "$obj";
is($::yaml_load_code_works, 0, 'stringifying the obj does nothing');
Expand All @@ -175,7 +175,7 @@ require CPAN::HandleConfig;
is($::yaml_load_code_works, 1, 'running the code did the right thing');

my $obj = $data->{object};
isa_ok($obj, 'CPAN::DeferedCode');
isa_ok($obj, 'CPAN::DeferredCode');
my $dummy = "$obj";
is($::yaml_load_code_works, 2, 'stringifying the obj ran the code');
}
Expand Down
2 changes: 1 addition & 1 deletion t/yaml_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ code: !!perl/code |
{
$::yaml_load_code_works = 1;
}
object: !!perl/code:CPAN::DeferedCode |
object: !!perl/code:CPAN::DeferredCode |
{
$::yaml_load_code_works = 2;
}

0 comments on commit 2f627a1

Please sign in to comment.