File: anon.t

package info (click to toggle)
libsignatures-perl 0.06-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 380 kB
  • sloc: perl: 1,235; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
use strict;
use warnings;
use Test::More tests => 1;

use signatures;

my $foo = sub ($bar, $baz) { return "${bar}-${baz}" };

is($foo->(qw/bar baz/), 'bar-baz');