projects
/
gitmo/Moose-Autobox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ded7afe4b5cb6f3bfe13e1fea2754cf4c8d932d7
[gitmo/Moose-Autobox.git]
/
t
/
012_first_last.t
1
#!/usr/bin/perl
2
3
use strict;
4
use warnings;
5
6
use Test::More tests => 5;
7
8
require_ok('Moose::Autobox');
9
10
use Moose::Autobox;
11
12
my $string = 'foo';
13
my $list = ['foo', 'bar'];
14
15
is $string->first, 'foo';
16
is $string->last, 'foo';
17
18
is $list->first, 'foo';
19
is $list->last, 'bar';