Skip to content
This repository
tag: v1.2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (9 sloc) 0.284 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use Test::More qw(no_plan);
use strict;
use warnings;

use autobox::Core;

is "Hello"->reverse, "olleH";

my @list = qw(foo bar baz);

is_deeply [@list->reverse], [qw(baz bar foo)];

my $arrayref = @list->reverse;

is ref $arrayref, "ARRAY", "returns an arrayref in scalar context";

Something went wrong with that request. Please try again.