Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Create capture with \() instead of just \
  • Loading branch information
lizmat committed Jul 5, 2015
1 parent 038ad11 commit 4d25274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S02-types/capture.t
Expand Up @@ -161,7 +161,7 @@ nok (defined \()[0]), '\()[0] is not defined';
# RT #125505
{
my $a = 41;
my $c = \$a;
my $c = \($a);
$c[0]++;
is $a, 42, 'Can modify Capture positional elements';
}
Expand Down

0 comments on commit 4d25274

Please sign in to comment.