File: head.t

package info (click to toggle)
libautobox-core-perl 1.21-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 400 kB
  • sloc: perl: 647; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More tests => 2;
use autobox::Core;

my @array = qw(foo bar baz);

ok @array->head;
is @array->head, 'foo';