Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
require an is dynamic if you're gonna use CALLER.
  • Loading branch information
timo committed Aug 11, 2013
1 parent 03e0f30 commit d16c3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S02-names/pseudo.t
Expand Up @@ -328,7 +328,7 @@ plan 142;
is f2({ CALLER::<$*foo> }), 92, 'CALLER::<$*foo> works';
is f2({ ::($caller)::('$*foo') }), 92, '::("CALLER")::<$*foo> works';

my $y = 93; #OK
my $y is dynamic = 93; #OK
if 1 {
is $CALLER::y, 93, 'CALLER:: works in inline blocks';
is $::($caller)::y, 93, '::("CALLER") works in inline blocks';
Expand Down

0 comments on commit d16c3af

Please sign in to comment.