Data-Struct
view release on metacpan or search on metacpan
#! perl
use strict;
use warnings;
use Test::More tests => 5;
sub throws_ok(&$;$);
use Data::Struct;
throws_ok {
my $s = struct Foo => qw(foo bar);
} qr/Ambiguous/,
'definition requires void';
throws_ok {
struct "Foo";
( run in 0.967 second using v1.01-cache-2.11-cpan-49f99fa48dc )