Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 225 Bytes
use v6;
use Test;
# L<S29/Obsolete Functions/=item pos>
plan 2;
my $str = 'moose';
$str ~~ /oo/;
throws-like '$str.pos', X::Method::NotFound, 'Str.pos superseeded by $/.to';
is($/.to, 3, '$/.to works');
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.