Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.28 kb
use v6;
use Test;
plan(2);
my $x = 'test';
my $y = 'case';
{
use v5;
$x .= 'ing';
{
use v6;
$y ~= 'book';
};
};
is $x, 'testing', "scalar modified inside perl5 block";
is $y, 'casebook', "scalar modified inside perl6 block inside perl5 block";
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.