Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin
Start 2009-03-27T09:30:08
ActivePerl-818 CPAN-1.9351
Going to read '/export/home/fly818/var/cpan/Metadata'
Database was generated on Fri, 27 Mar 2009 09:28:08 GMT
Running make for A/AS/ASH/Parse-Method-Signatures-1.003004.tar.gz
Checksum for /net/nas/data/cpan/authors/id/A/AS/ASH/Parse-Method-Signatures-1.003004.tar.gz ok
Parse-Method-Signatures-1.003004/
Parse-Method-Signatures-1.003004/Changes
Parse-Method-Signatures-1.003004/inc/
Parse-Method-Signatures-1.003004/inc/Module/
Parse-Method-Signatures-1.003004/inc/Module/Install/
Parse-Method-Signatures-1.003004/inc/Module/Install/Base.pm
Parse-Method-Signatures-1.003004/inc/Module/Install/Can.pm
Parse-Method-Signatures-1.003004/inc/Module/Install/Fetch.pm
Parse-Method-Signatures-1.003004/inc/Module/Install/Makefile.pm
Parse-Method-Signatures-1.003004/inc/Module/Install/Metadata.pm
Parse-Method-Signatures-1.003004/inc/Module/Install/Win32.pm
Parse-Method-Signatures-1.003004/inc/Module/Install/WriteAll.pm
Parse-Method-Signatures-1.003004/inc/Module/Install.pm
Parse-Method-Signatures-1.003004/lib/
Parse-Method-Signatures-1.003004/lib/Parse/
Parse-Method-Signatures-1.003004/lib/Parse/Method/
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Bindable.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Named.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Placeholder.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Positional.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Unpacked/
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Unpacked/Array.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Unpacked/Hash.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param/Unpacked.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Param.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/ParamCollection.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Sig.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/TypeConstraint.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures/Types.pm
Parse-Method-Signatures-1.003004/lib/Parse/Method/Signatures.pm
Parse-Method-Signatures-1.003004/Makefile.PL
Parse-Method-Signatures-1.003004/MANIFEST
Parse-Method-Signatures-1.003004/META.yml
Parse-Method-Signatures-1.003004/t/
Parse-Method-Signatures-1.003004/t/ppi.t
Parse-Method-Signatures-1.003004/t/signatures.t
Parse-Method-Signatures-1.003004/t/struct.t
CPAN.pm: Going to build A/AS/ASH/Parse-Method-Signatures-1.003004.tar.gz
>>> /export/home/fly818/bin/perl Makefile.PL
Cannot determine perl version info from lib/Parse/Method/Signatures.pm
Warning: prerequisite MooseX::Types 0.10 not found. We have 0.08.
Checking if your kit is complete...
Looks good
Writing Makefile for Parse::Method::Signatures
---- Unsatisfied dependencies detected during ----
---- ASH/Parse-Method-Signatures-1.003004.tar.gz ----
MooseX::Types [requires]
Running make test
Delayed until after prerequisites
Running test for module 'MooseX::Types'
Running make for J/JJ/JJNAPIORK/MooseX-Types-0.10.tar.gz
Checksum for /net/nas/data/cpan/authors/id/J/JJ/JJNAPIORK/MooseX-Types-0.10.tar.gz ok
MooseX-Types-0.10/
MooseX-Types-0.10/lib/
MooseX-Types-0.10/lib/MooseX/
MooseX-Types-0.10/lib/MooseX/Types.pm
MooseX-Types-0.10/lib/MooseX/Types/
MooseX-Types-0.10/lib/MooseX/Types/TypeDecorator.pm
MooseX-Types-0.10/lib/MooseX/Types/Base.pm
MooseX-Types-0.10/lib/MooseX/Types/Wrapper.pm
MooseX-Types-0.10/lib/MooseX/Types/Util.pm
MooseX-Types-0.10/lib/MooseX/Types/UndefinedType.pm
MooseX-Types-0.10/lib/MooseX/Types/Moose.pm
MooseX-Types-0.10/Changes
MooseX-Types-0.10/MANIFEST
MooseX-Types-0.10/inc/
MooseX-Types-0.10/inc/Module/
MooseX-Types-0.10/inc/Module/AutoInstall.pm
MooseX-Types-0.10/inc/Module/Install/
MooseX-Types-0.10/inc/Module/Install/AutoInstall.pm
MooseX-Types-0.10/inc/Module/Install/Fetch.pm
MooseX-Types-0.10/inc/Module/Install/Makefile.pm
MooseX-Types-0.10/inc/Module/Install/Can.pm
MooseX-Types-0.10/inc/Module/Install/Base.pm
MooseX-Types-0.10/inc/Module/Install/Metadata.pm
MooseX-Types-0.10/inc/Module/Install/WriteAll.pm
MooseX-Types-0.10/inc/Module/Install/Win32.pm
MooseX-Types-0.10/inc/Module/Install/Include.pm
MooseX-Types-0.10/inc/Module/Install.pm
MooseX-Types-0.10/t/
MooseX-Types-0.10/t/lib/
MooseX-Types-0.10/t/lib/IntrospectTypeExports.pm
MooseX-Types-0.10/t/lib/TestWrapper.pm
MooseX-Types-0.10/t/lib/TestLibrary.pm
MooseX-Types-0.10/t/lib/TestNamespaceSep.pm
MooseX-Types-0.10/t/lib/DecoratorLibrary.pm
MooseX-Types-0.10/t/lib/SubExporterCompatibility.pm
MooseX-Types-0.10/t/15_recursion.t
MooseX-Types-0.10/t/10_moose-types.t
MooseX-Types-0.10/t/12_wrapper-definition.t
MooseX-Types-0.10/t/14_compatibility-sub-exporter.t
MooseX-Types-0.10/t/13_typedecorator.t
MooseX-Types-0.10/t/11_library-definition.t
MooseX-Types-0.10/t/16_introspection.t
MooseX-Types-0.10/README
MooseX-Types-0.10/Makefile.PL
MooseX-Types-0.10/META.yml
CPAN.pm: Going to build J/JJ/JJNAPIORK/MooseX-Types-0.10.tar.gz
>>> /export/home/fly818/bin/perl Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.86 >= 0.8)
- FindBin ...loaded. (1.47)
- Moose ...loaded. (0.72 >= 0.61)
- Sub::Install ...loaded. (0.925 >= 0.924)
- namespace::clean ...loaded. (0.11 >= 0.08)
- Carp ...loaded. (1.04)
- Carp::Clan ...loaded. (6.00 >= 6)
- Scalar::Util ...loaded. (1.19 >= 1.19)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for MooseX::Types
>>> make
cp lib/MooseX/Types/Base.pm blib/lib/MooseX/Types/Base.pm
cp lib/MooseX/Types/TypeDecorator.pm blib/lib/MooseX/Types/TypeDecorator.pm
cp lib/MooseX/Types/Wrapper.pm blib/lib/MooseX/Types/Wrapper.pm
cp lib/MooseX/Types/Util.pm blib/lib/MooseX/Types/Util.pm
cp lib/MooseX/Types/Moose.pm blib/lib/MooseX/Types/Moose.pm
cp lib/MooseX/Types.pm blib/lib/MooseX/Types.pm
cp lib/MooseX/Types/UndefinedType.pm blib/lib/MooseX/Types/UndefinedType.pm
Manifying blib/man3/MooseX::Types::Base.3
Manifying blib/man3/MooseX::Types::TypeDecorator.3
Manifying blib/man3/MooseX::Types::Wrapper.3
Manifying blib/man3/MooseX::Types::Moose.3
Manifying blib/man3/MooseX::Types::Util.3
Manifying blib/man3/MooseX::Types::UndefinedType.3
Manifying blib/man3/MooseX::Types.3
JJNAPIORK/MooseX-Types-0.10.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /export/home/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/10_moose-types.t t/11_library-definition.t t/12_wrapper-definition.t t/13_typedecorator.t t/14_compatibility-sub-exporter.t t/15_recursion.t t/16_introspection.t
t/10_moose-types.t .................
1..66
ok 1 - Bool() was exported
ok 2 - Bool() returns 'Bool'
ok 3 - is_Bool() was exported
ok 4 - Ref() was exported
ok 5 - Ref() returns 'Ref'
ok 6 - is_Ref() was exported
ok 7 - FileHandle() was exported
ok 8 - FileHandle() returns 'FileHandle'
ok 9 - is_FileHandle() was exported
ok 10 - Defined() was exported
ok 11 - Defined() returns 'Defined'
ok 12 - is_Defined() was exported
ok 13 - ScalarRef() was exported
ok 14 - ScalarRef() returns 'ScalarRef'
ok 15 - is_ScalarRef() was exported
ok 16 - GlobRef() was exported
ok 17 - GlobRef() returns 'GlobRef'
ok 18 - is_GlobRef() was exported
ok 19 - Maybe() was exported
ok 20 - Maybe() returns 'Maybe'
ok 21 - is_Maybe() was exported
ok 22 - RoleName() was exported
ok 23 - RoleName() returns 'RoleName'
ok 24 - is_RoleName() was exported
ok 25 - Object() was exported
ok 26 - Object() returns 'Object'
ok 27 - is_Object() was exported
ok 28 - Value() was exported
ok 29 - Value() returns 'Value'
ok 30 - is_Value() was exported
ok 31 - HashRef() was exported
ok 32 - HashRef() returns 'HashRef'
ok 33 - is_HashRef() was exported
ok 34 - ArrayRef() was exported
ok 35 - ArrayRef() returns 'ArrayRef'
ok 36 - is_ArrayRef() was exported
ok 37 - Role() was exported
ok 38 - Role() returns 'Role'
ok 39 - is_Role() was exported
ok 40 - Item() was exported
ok 41 - Item() returns 'Item'
ok 42 - is_Item() was exported
ok 43 - Undef() was exported
ok 44 - Undef() returns 'Undef'
ok 45 - is_Undef() was exported
ok 46 - Str() was exported
ok 47 - Str() returns 'Str'
ok 48 - is_Str() was exported
ok 49 - RegexpRef() was exported
ok 50 - RegexpRef() returns 'RegexpRef'
ok 51 - is_RegexpRef() was exported
ok 52 - Int() was exported
ok 53 - Int() returns 'Int'
ok 54 - is_Int() was exported
ok 55 - ClassName() was exported
ok 56 - ClassName() returns 'ClassName'
ok 57 - is_ClassName() was exported
ok 58 - Num() was exported
ok 59 - Num() returns 'Num'
ok 60 - is_Num() was exported
ok 61 - Any() was exported
ok 62 - Any() returns 'Any'
ok 63 - is_Any() was exported
ok 64 - CodeRef() was exported
ok 65 - CodeRef() returns 'CodeRef'
ok 66 - is_CodeRef() was exported
ok
t/11_library-definition.t ..........
1..21
ok 1 - NonEmptyStr() was exported
ok 2 - NonEmptyStr() returned correct type name
ok 3 - to_NonEmptyStr() coercion was exported
ok 4 - to_NonEmptyStr() coercion works
ok 5 - to_NonEmptyStr() returns false on invalid value
ok 6 - is_NonEmptyStr() check was exported
ok 7 - is_NonEmptyStr() check true on valid value
ok 8 - is_NonEmptyStr() check false on invalid value
ok 9 - IntArrayRef() was exported
ok 10 - IntArrayRef() returned correct type name
ok 11 - to_IntArrayRef() coercion was exported
ok 12 - to_IntArrayRef() coercion works
ok 13 - to_IntArrayRef() returns false on invalid value
ok 14 - is_IntArrayRef() check was exported
ok 15 - is_IntArrayRef() check true on valid value
ok 16 - is_IntArrayRef() check false on invalid value
ok 17 - aliased type exported under correct symbol
ok 18 - aliased type returns unaliased type name
ok 19 - type without coercion doesn't have to_* helper
ok 20 - trying to declare a type with '::' in it croaks
ok 21 - error message contains type name
ok
t/12_wrapper-definition.t ..........
1..27
ok 1 - NonEmptyStr() was exported
ok 2 - NonEmptyStr() returned correct type name
ok 3 - to_NonEmptyStr() coercion was exported
ok 4 - to_NonEmptyStr() coercion works
ok 5 - to_NonEmptyStr() died on invalid value
ok 6 - is_NonEmptyStr() check was exported
ok 7 - is_NonEmptyStr() check true on valid value
ok 8 - is_NonEmptyStr() check false on invalid value
ok 9 - is_NonEmptyStr() returns test closure without args
ok 10 - IntArrayRef() was exported
ok 11 - IntArrayRef() returned correct type name
ok 12 - to_IntArrayRef() coercion was exported
ok 13 - to_IntArrayRef() coercion works
ok 14 - to_IntArrayRef() died on invalid value
ok 15 - is_IntArrayRef() check was exported
ok 16 - is_IntArrayRef() check true on valid value
ok 17 - is_IntArrayRef() check false on invalid value
ok 18 - is_IntArrayRef() returns test closure without args
ok 19 - Str() was exported
ok 20 - Str() returned correct type name
ok 21 - to_Str() coercion was exported
ok 22 - to_Str() coercion works
ok 23 - to_Str() died on invalid value
ok 24 - is_Str() check was exported
ok 25 - is_Str() check true on valid value
ok 26 - is_Str() check false on invalid value
ok 27 - is_Str() returns test closure without args
ok
t/13_typedecorator.t ...............
1..62
ok 1 - Created some sort of object
ok 2 - Yes, it's the correct kind of object isa Test::MooseX::TypeLibrary::TypeDecorator
ok 3 - Assigned arrayrefbase qw(a b c d e)
ok 4 - Assignment is correct
ok 5 - Assignment arrayrefbase d,e,f to test coercion
ok 6 - Assignment and coercion is correct
ok 7 - Assignment arrayrefint01 qw(1 2 3)
ok 8 - Assignment is correct
ok 9 - Assigned arrayrefint01 4.5.6 to test coercion from Str
ok 10 - Assignment and coercion is correct
ok 11 - Assigned arrayrefint01 {a=>7,b=>8} to test coercion from HashRef
ok 12 - Assignment and coercion is correct
ok 13 - Dies when values are strings
ok 14 - Assigned arrayrefint02 qw(1 2 3)
ok 15 - Assignment is correct
ok 16 - Assigned arrayrefint02 4:5:6 to test coercion from Str
ok 17 - Assignment and coercion is correct
ok 18 - Assigned arrayrefint02 {a=>7,b=>8} to test coercion from HashRef
ok 19 - Assignment and coercion is correct
ok 20 - Assigned arrayrefint02 {a=>'AA',b=>'BBB', c=>'CCCCCCC'} to test coercion from HashRef
ok 21 - Assignment and coercion is correct
ok 22 - Assigned arrayrefint02 {a=>[1,2],b=>[3,4]} to test coercion from HashRef
ok 23 - Assignment and coercion is correct
ok 24 - Assigned arrayrefint01 qw(11 12 13)
ok 25 - Assignment is correct
ok 26 - Dies when values are strings
ok 27 - String part of union is good
ok 28 - arrayref part of union is good
ok 29 - Correctly failed to use a hashref
ok 30 - Good assignment
ok 31 - Got expected values.
ok 32 - properly fails to assign as []
ok 33 - properly fails arrayref of strings
ok 34 - Integer for union test accepted
ok 35 - String for union test accepted
ok 36 - Union test corrected fails a HashRef
ok 37 - Assigned deep to [[{a=>1,b=>2},{c=>3,d=>4}],[{e=>5}]]
ok 38 - Assignment is correct
ok 39 - Deep Constraints properly fail
ok 40 - Assigned deep2 to [[{a=>1,b=>2},{c=>3,d=>4}],[{e=>5}]]
ok 41 - Assignment is correct
ok 42 - Deep Constraints properly fail
ok 43 - Deep Constraints properly fail
ok 44 - Assigned deep2 to [[{a=>1,b=>2},{c=>3,d=>$type}],[{e=>5}]]
ok 45 - Assignment is correct
ok 46 - Assigned deep2 to [1,2,3]
ok 47 - Assignment is correct
ok 48 - Good Assignment of Programming to Enum
ok 49 - Enum properly fails
ok 50 - Assigned SubOfMyArrayRefInt01_attr to [15,20,25]
ok 51 - Assignment is correct
ok 52 - SubOfMyArrayRefInt01 Constraints properly fail
ok 53 - Assigned deep2 to [5,10,1000]
ok 54 - Assignment is correct
ok 55 - Constraints properly fail
ok 56 - Constraints properly fail
ok 57 - Constraints properly fail
ok 58 - Assigned deep2 to [5,10,$type]
ok 59 - Assignment is correct
ok 60 - Constraints properly fail
ok 61 - Constraints properly fail
ok 62 - Constraints properly fail
ok
t/14_compatibility-sub-exporter.t ..
1..3
ok 1 - Correctly passed
ok 2 - Correctly fails
ok 3 - Found the something method
ok
t/15_recursion.t ...................
1..5
ok 1 - properly validated {key=>"value"}
ok 2 - properly validated {key=>{subkey=>"value"}}
ok 3 - properly validated deeper recursive values
ok 4 - Properly invalidates bad value
ok 5 - Properly invalidates bad value deeply
ok
t/16_introspection.t ...............
1..1
ok 1 - all calls to has_available_type_export returned correct results
ok
All tests successful.
Files=7, Tests=185, 9 wallclock secs ( 0.19 usr 0.06 sys + 8.91 cusr 0.56 csys = 9.72 CPU)
Result: PASS
JJNAPIORK/MooseX-Types-0.10.tar.gz
make test TEST_VERBOSE=1 -- OK
John Napiorkowski <jjnapiork@cpan.org>
Organise your Moose types in libraries
>>> (cd /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU && tar cvf - MooseX-Types-0.10.ppd blib) | gzip -c >/export/home/fly818/var/REPO/J/JJ/JJNAPIORK/MooseX-Types-0.10.tar.gz
MooseX-Types-0.10.ppd
blib/
blib/lib/
blib/lib/MooseX/
blib/lib/MooseX/Types/
blib/lib/MooseX/Types/Base.pm
blib/lib/MooseX/Types/TypeDecorator.pm
blib/lib/MooseX/Types/Wrapper.pm
blib/lib/MooseX/Types/Util.pm
blib/lib/MooseX/Types/Moose.pm
blib/lib/MooseX/Types/UndefinedType.pm
blib/lib/MooseX/Types.pm
blib/man3/
blib/man3/MooseX::Types::Base.3
blib/man3/MooseX::Types::TypeDecorator.3
blib/man3/MooseX::Types::Wrapper.3
blib/man3/MooseX::Types::Moose.3
blib/man3/MooseX::Types::Util.3
blib/man3/MooseX::Types::UndefinedType.3
blib/man3/MooseX::Types.3
>>> mv /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/MooseX-Types-0.10.ppd /export/home/fly818/var/REPO/J/JJ/JJNAPIORK
Running make for A/AS/ASH/Parse-Method-Signatures-1.003004.tar.gz
Prepending /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/blib/arch /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /export/home/fly818/var/cpan/build/Parse-Method-Signatures-1.003004-fS3Zdu
Prepending /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/blib/arch /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build A/AS/ASH/Parse-Method-Signatures-1.003004.tar.gz
>>> make
cp lib/Parse/Method/Signatures/Param/Named.pm blib/lib/Parse/Method/Signatures/Param/Named.pm
cp lib/Parse/Method/Signatures/Param/Placeholder.pm blib/lib/Parse/Method/Signatures/Param/Placeholder.pm
cp lib/Parse/Method/Signatures/Param/Positional.pm blib/lib/Parse/Method/Signatures/Param/Positional.pm
cp lib/Parse/Method/Signatures/Param/Unpacked/Array.pm blib/lib/Parse/Method/Signatures/Param/Unpacked/Array.pm
cp lib/Parse/Method/Signatures/Param/Unpacked/Hash.pm blib/lib/Parse/Method/Signatures/Param/Unpacked/Hash.pm
cp lib/Parse/Method/Signatures/Param.pm blib/lib/Parse/Method/Signatures/Param.pm
cp lib/Parse/Method/Signatures/Sig.pm blib/lib/Parse/Method/Signatures/Sig.pm
cp lib/Parse/Method/Signatures/Types.pm blib/lib/Parse/Method/Signatures/Types.pm
cp lib/Parse/Method/Signatures/ParamCollection.pm blib/lib/Parse/Method/Signatures/ParamCollection.pm
cp lib/Parse/Method/Signatures/Param/Bindable.pm blib/lib/Parse/Method/Signatures/Param/Bindable.pm
cp lib/Parse/Method/Signatures/TypeConstraint.pm blib/lib/Parse/Method/Signatures/TypeConstraint.pm
cp lib/Parse/Method/Signatures.pm blib/lib/Parse/Method/Signatures.pm
cp lib/Parse/Method/Signatures/Param/Unpacked.pm blib/lib/Parse/Method/Signatures/Param/Unpacked.pm
Manifying blib/man3/Parse::Method::Signatures::TypeConstraint.3
Manifying blib/man3/Parse::Method::Signatures.3
Manifying blib/man3/Parse::Method::Signatures::Param.3
ASH/Parse-Method-Signatures-1.003004.tar.gz
make -- OK
Prepending /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/blib/arch /export/home/fly818/var/cpan/build/MooseX-Types-0.10-jIZgKU/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /export/home/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/ppi.t .........
ok 1 - use Parse::Method::Signatures;
ok 2
ok 3
ok 4
ok 5 - Runaway '[]' in type constraint near '[Bar' at
ok 6 - Error parsing type constraint near ':' in 'Bar:' at
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14 - Error parsing parameter near '\$x' in '\$x\[0\]' at
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22 - Cannot have optional parameters in an unpacked-array near '@y' in '$x, @y?' at
ok 23 - Cannot have named parameters in an unpacked-array near ':' in '$x, :$y' at
ok 24 - Arrays or hashes cannot be named near '@y' in '$x, :@y' at
ok 25 - Runaway '{}' in unpacked parameter near '{$x, :@y' at
ok 26
ok 27 - ')' expected whilst paring signautre near 'G' in '$x = 0xfG' at
ok 28
ok 29
1..29
ok
t/signatures.t ..
1..271
ok 1 - empty signature
ok 2 - empty signature isa Parse::Method::Signatures::Sig
ok 3 - empty signature
ok 4 - single required positional
ok 5 - single required positional isa Parse::Method::Signatures::Sig
ok 6 - single required positional
ok 7 - invocant only
ok 8 - invocant only isa Parse::Method::Signatures::Sig
ok 9 - invocant only
ok 10 - two required positionals
ok 11 - two required positionals isa Parse::Method::Signatures::Sig
ok 12 - two required positionals
ok 13 - with constraint
ok 14 - with constraint isa Parse::Method::Signatures::Sig
ok 15 - with constraint
ok 16 - multiple constraints
ok 17 - multiple constraints isa Parse::Method::Signatures::Sig
ok 18 - multiple constraints
ok 19 - typed positional
ok 20 - typed positional isa Parse::Method::Signatures::Sig
ok 21 - typed positional
ok 22 - multiple typed positionals
ok 23 - multiple typed positionals isa Parse::Method::Signatures::Sig
ok 24 - multiple typed positionals
ok 25 - type constraint alternative
ok 26 - type constraint alternative isa Parse::Method::Signatures::Sig
ok 27 - type constraint alternative
ok 28 - type constraint with colon
ok 29 - type constraint with colon isa Parse::Method::Signatures::Sig
ok 30 - type constraint with colon
ok 31 - type constraint with number in middle
ok 32 - type constraint with number in middle isa Parse::Method::Signatures::Sig
ok 33 - type constraint with number in middle
ok 34 - type constraint with number at end
ok 35 - type constraint with number at end isa Parse::Method::Signatures::Sig
ok 36 - type constraint with number at end
ok 37 - parameterized types
ok 38 - parameterized types isa Parse::Method::Signatures::Sig
ok 39 - parameterized types
ok 40 - parameterized with alternative
ok 41 - parameterized with alternative isa Parse::Method::Signatures::Sig
ok 42 - parameterized with alternative
ok 43 - dummy invocant
ok 44 - dummy invocant isa Parse::Method::Signatures::Sig
ok 45 - dummy invocant
ok 46 - dummy positionals
ok 47 - dummy positionals isa Parse::Method::Signatures::Sig
ok 48 - dummy positionals
ok 49 - dummy list
ok 50 - dummy list isa Parse::Method::Signatures::Sig
ok 51 - dummy list
ok 52 - optional named
ok 53 - optional named isa Parse::Method::Signatures::Sig
ok 54 - optional named
ok 55 - required named
ok 56 - required named isa Parse::Method::Signatures::Sig
ok 57 - required named
ok 58 - named with type constraint
ok 59 - named with type constraint isa Parse::Method::Signatures::Sig
ok 60 - named with type constraint
ok 61 - positional and named
ok 62 - positional and named isa Parse::Method::Signatures::Sig
ok 63 - positional and named
ok 64 - optional positional and named
ok 65 - optional positional and named isa Parse::Method::Signatures::Sig
ok 66 - optional positional and named
ok 67 - multiple named
ok 68 - multiple named isa Parse::Method::Signatures::Sig
ok 69 - multiple named
ok 70 - positional and multiple required named
ok 71 - positional and multiple required named isa Parse::Method::Signatures::Sig
ok 72 - positional and multiple required named
ok 73 - optional positional and named
ok 74 - optional positional and named isa Parse::Method::Signatures::Sig
ok 75 - optional positional and named
ok 76 - required named with constraint
ok 77 - required named with constraint isa Parse::Method::Signatures::Sig
ok 78 - required named with constraint
ok 79 - invocant and positional
ok 80 - invocant and positional isa Parse::Method::Signatures::Sig
ok 81 - invocant and positional
ok 82 - long named
ok 83 - long named isa Parse::Method::Signatures::Sig
ok 84 - long named
ok 85 - required long named
ok 86 - required long named isa Parse::Method::Signatures::Sig
ok 87 - required long named
ok 88 - named param with invocant
ok 89 - named param with invocant isa Parse::Method::Signatures::Sig
ok 90 - named param with invocant
ok 91 - named param with dummy invocant
ok 92 - named param with dummy invocant isa Parse::Method::Signatures::Sig
ok 93 - named param with dummy invocant
ok 94 - positional with default
ok 95 - positional with default isa Parse::Method::Signatures::Sig
ok 96 - positional with default
ok 97 - named with default
ok 98 - named with default isa Parse::Method::Signatures::Sig
ok 99 - named with default
ok 100 - simple string default
ok 101 - simple string default isa Parse::Method::Signatures::Sig
ok 102 - simple string default
ok 103 - string default with comma
ok 104 - string default with comma isa Parse::Method::Signatures::Sig
ok 105 - string default with comma
ok 106 - single quoted default with comma
ok 107 - single quoted default with comma isa Parse::Method::Signatures::Sig
ok 108 - single quoted default with comma
ok 109 - default with q"" quoting
ok 110 - default with q"" quoting isa Parse::Method::Signatures::Sig
ok 111 - default with q"" quoting
ok 112 - default with q{} quoting
ok 113 - default with q{} quoting isa Parse::Method::Signatures::Sig
ok 114 - default with q{} quoting
ok 115 - default with q() quoting
ok 116 - default with q() quoting isa Parse::Method::Signatures::Sig
ok 117 - default with q() quoting
ok 118 - default with q,, quoting
ok 119 - default with q,, quoting isa Parse::Method::Signatures::Sig
ok 120 - default with q,, quoting
ok 121 - default based on other paramter
ok 122 - default based on other paramter isa Parse::Method::Signatures::Sig
ok 123 - default based on other paramter
ok 124 - complex with constraint
ok 125 - complex with constraint isa Parse::Method::Signatures::Sig
ok 126 - complex with constraint
ok 127 - complex with default
ok 128 - complex with default isa Parse::Method::Signatures::Sig
ok 129 - complex with default
ok 130 - complex with constraint
ok 131 - complex with constraint isa Parse::Method::Signatures::Sig
ok 132 - complex with constraint
ok 133 - complex invocant, defaults and constraints
ok 134 - complex invocant, defaults and constraints isa Parse::Method::Signatures::Sig
ok 135 - complex invocant, defaults and constraints
ok 136 - positional array
ok 137 - positional array isa Parse::Method::Signatures::Sig
ok 138 - positional array
ok 139 - positinal scalar and array
ok 140 - positinal scalar and array isa Parse::Method::Signatures::Sig
ok 141 - positinal scalar and array
ok 142 - positinal hash
ok 143 - positinal hash isa Parse::Method::Signatures::Sig
ok 144 - positinal hash
ok 145 - positinal scalar and hash
ok 146 - positinal scalar and hash isa Parse::Method::Signatures::Sig
ok 147 - positinal scalar and hash
ok 148 - simple array ref unpacking
ok 149 - simple array ref unpacking isa Parse::Method::Signatures::Sig
ok 150 - simple array ref unpacking
not ok 151 - simple array ref unpacking with unparameterized type # TODO TODO
# Failed (TODO) test 'simple array ref unpacking with unparameterized type'
# at t/signatures.t line 151.
# died: Error parsing type constraint near '$x' in '$x, $y' at t/signatures.t line 150
not ok 152 - simple array ref unpacking with unparameterized type isa Parse::Method::Signatures::Sig # TODO TODO
# Failed (TODO) test 'simple array ref unpacking with unparameterized type isa Parse::Method::Signatures::Sig'
# at t/signatures.t line 152.
# simple array ref unpacking with unparameterized type isn't defined
not ok 153 # TODO & SKIP TODO
ok 154 - simple array ref unpacking with empty parameterized type
ok 155 - simple array ref unpacking with empty parameterized type isa Parse::Method::Signatures::Sig
ok 156 - simple array ref unpacking with empty parameterized type
ok 157 - array ref unpacking into array
ok 158 - array ref unpacking into array isa Parse::Method::Signatures::Sig
ok 159 - array ref unpacking into array
ok 160 - array ref unpacking into scalars and arrays
ok 161 - array ref unpacking into scalars and arrays isa Parse::Method::Signatures::Sig
ok 162 - array ref unpacking into scalars and arrays
ok 163 - array ref unpacking combined with normal positionals
ok 164 - array ref unpacking combined with normal positionals isa Parse::Method::Signatures::Sig
ok 165 - array ref unpacking combined with normal positionals
ok 166 - array ref unpacking combined with normal positionals
ok 167 - array ref unpacking combined with normal positionals isa Parse::Method::Signatures::Sig
ok 168 - array ref unpacking combined with normal positionals
ok 169 - array ref unpacking combined with named
ok 170 - array ref unpacking combined with named isa Parse::Method::Signatures::Sig
ok 171 - array ref unpacking combined with named
ok 172 - named array ref unpacking
ok 173 - named array ref unpacking isa Parse::Method::Signatures::Sig
ok 174 - named array ref unpacking
ok 175 - hash ref unpacking into hash
ok 176 - hash ref unpacking into hash isa Parse::Method::Signatures::Sig
ok 177 - hash ref unpacking into hash
ok 178 - labeld hash ref unpacking into hash
ok 179 - labeld hash ref unpacking into hash isa Parse::Method::Signatures::Sig
ok 180 - labeld hash ref unpacking into hash
ok 181 - hash ref unpacking into scalars and hash
ok 182 - hash ref unpacking into scalars and hash isa Parse::Method::Signatures::Sig
ok 183 - hash ref unpacking into scalars and hash
ok 184 - hash ref unpacking combined with normal positionals
ok 185 - hash ref unpacking combined with normal positionals isa Parse::Method::Signatures::Sig
ok 186 - hash ref unpacking combined with normal positionals
ok 187 - hash ref unpacking combined with normal positionals
ok 188 - hash ref unpacking combined with normal positionals isa Parse::Method::Signatures::Sig
ok 189 - hash ref unpacking combined with normal positionals
ok 190 - hash ref unpacking combined with named
ok 191 - hash ref unpacking combined with named isa Parse::Method::Signatures::Sig
ok 192 - hash ref unpacking combined with named
ok 193 - named hash ref unpacking
ok 194 - named hash ref unpacking isa Parse::Method::Signatures::Sig
ok 195 - named hash ref unpacking
ok 196 - named placeholders
ok 197 - named placeholders isa Parse::Method::Signatures::Sig
ok 198 - named placeholders
ok 199 - complex parameterized type
ok 200 - complex parameterized type isa Parse::Method::Signatures::Sig
ok 201 - complex parameterized type
ok 202 - positional with traits (is)
ok 203 - positional with traits (is) isa Parse::Method::Signatures::Sig
ok 204 - positional with traits (is)
ok 205 - positional with traits (does)
ok 206 - positional with traits (does) isa Parse::Method::Signatures::Sig
ok 207 - positional with traits (does)
ok 208 - named with traits (is)
ok 209 - named with traits (is) isa Parse::Method::Signatures::Sig
ok 210 - named with traits (is)
ok 211 - named with traits (does)
ok 212 - named with traits (does) isa Parse::Method::Signatures::Sig
ok 213 - named with traits (does)
ok 214 - multiple traits
ok 215 - multiple traits isa Parse::Method::Signatures::Sig
ok 216 - multiple traits
ok 217 - string default
ok 218 - string default isa Parse::Method::Signatures::Sig
ok 219 - string default
ok 220 - string default
ok 221 - string default isa Parse::Method::Signatures::Sig
ok 222 - string default
ok 223 - simple array default
ok 224 - simple array default isa Parse::Method::Signatures::Sig
ok 225 - simple array default
ok 226 - simple hash default
ok 227 - simple hash default isa Parse::Method::Signatures::Sig
ok 228 - simple hash default
ok 229 - hex default
ok 230 - hex default isa Parse::Method::Signatures::Sig
ok 231 - hex default
ok 232 - hex default
ok 233 - hex default isa Parse::Method::Signatures::Sig
ok 234 - hex default
ok 235 - comments in multiline
ok 236 - default value stringifies okay
ok 237 - invocant and positional
ok 238 - type constraint alternative with whitespace
ok 239 - Hash with required key
ok 240 - optional invocant
ok 241 - non-scalar invocant
ok 242 - non-scalar invocant
ok 243 - required positional after optional one
ok 244 - invalid type alternation
ok 245 - invalid type alternation
ok 246 - scalar after array
ok 247 - multiple arrays
ok 248 - multiple hashes
ok 249 - scalar after array placeholder
ok 250 - named array
ok 251 - named hash
ok 252 - named array placeholder
ok 253 - named hash placeholder
ok 254 - named array ref unpacking without label
ok 255 - unpacking array ref to something not positional
ok 256 - named hash ref unpacking without label
ok 257 - unpacking hash ref to something not named
ok 258 - unbalanced { in conditional
not ok 259 - invalid quote op # TODO Do we want to allow this
# Failed (TODO) test 'invalid quote op'
# at t/signatures.t line 168.
ok 260 - unbalanced quotes
ok 261 - named invocant is invalid
ok 262 - default value for invocant is invalid
ok 263 - invalid traits
ok 264 - invalid spaces in TC
ok 265 - invalid spaces in TC
ok 266 - invalid invocant
ok 267 - trailing comma
ok 268 - no block after where
ok 269 - invalid param trait
ok 270 - invalid label contents
ok 271 - invalid label contents
ok
t/struct.t ......
1..43
ok 1
ok 2
ok 3
ok 4 - The object isa Parse::Method::Signatures::Param
ok 5
ok 6
ok 7
ok 8
ok 9 - The object does Parse::Method::Signatures::Param::Positional
ok 10 - The object does Parse::Method::Signatures::Param::Bindable
ok 11 - The object isa Moose::Meta::TypeConstraint
ok 12
ok 13
ok 14
ok 15
ok 16 - The object isa Parse::Method::Signatures::Param
ok 17 - The object isa Parse::Method::Signatures::Param
ok 18 - The object does Parse::Method::Signatures::Param::Named
ok 19 - The object does Parse::Method::Signatures::Param::Bindable
ok 20 - The object does Parse::Method::Signatures::Param::Named
ok 21 - The object does Parse::Method::Signatures::Param::Bindable
ok 22
ok 23
ok 24
ok 25 - The object isa Moose::Meta::TypeConstraint
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31 - The object isa Moose::Meta::TypeConstraint
ok 32
ok 33
ok 34
ok 35
ok 36 - The object does Parse::Method::Signatures::Param::Placeholder
ok 37 - The object does Parse::Method::Signatures::Param::Placeholder
ok 38 - The object isa Moose::Meta::TypeConstraint
ok 39
ok 40
ok 41 - TC behaves right
ok 42 - TC behaves right
ok 43 - TC behaves right
ok
All tests successful.
Files=3, Tests=343, 10 wallclock secs ( 0.19 usr 0.04 sys + 9.24 cusr 0.32 csys = 9.79 CPU)
Result: PASS
ASH/Parse-Method-Signatures-1.003004.tar.gz
make test TEST_VERBOSE=1 -- OK
Ash Berlin <ash@cpan.org>
Perl6 like method signature parser
>>> (cd /export/home/fly818/var/cpan/build/Parse-Method-Signatures-1.003004-fS3Zdu && tar cvf - Parse-Method-Signatures-1.003004.ppd blib) | gzip -c >/export/home/fly818/var/REPO/A/AS/ASH/Parse-Method-Signatures-1.003004.tar.gz
Parse-Method-Signatures-1.003004.ppd
blib/
blib/lib/
blib/lib/Parse/
blib/lib/Parse/Method/
blib/lib/Parse/Method/Signatures/
blib/lib/Parse/Method/Signatures/Param/
blib/lib/Parse/Method/Signatures/Param/Named.pm
blib/lib/Parse/Method/Signatures/Param/Placeholder.pm
blib/lib/Parse/Method/Signatures/Param/Positional.pm
blib/lib/Parse/Method/Signatures/Param/Unpacked/
blib/lib/Parse/Method/Signatures/Param/Unpacked/Array.pm
blib/lib/Parse/Method/Signatures/Param/Unpacked/Hash.pm
blib/lib/Parse/Method/Signatures/Param/Bindable.pm
blib/lib/Parse/Method/Signatures/Param/Unpacked.pm
blib/lib/Parse/Method/Signatures/Param.pm
blib/lib/Parse/Method/Signatures/Sig.pm
blib/lib/Parse/Method/Signatures/Types.pm
blib/lib/Parse/Method/Signatures/ParamCollection.pm
blib/lib/Parse/Method/Signatures/TypeConstraint.pm
blib/lib/Parse/Method/Signatures.pm
blib/man3/
blib/man3/Parse::Method::Signatures::TypeConstraint.3
blib/man3/Parse::Method::Signatures.3
blib/man3/Parse::Method::Signatures::Param.3
>>> mv /export/home/fly818/var/cpan/build/Parse-Method-Signatures-1.003004-fS3Zdu/Parse-Method-Signatures-1.003004.ppd /export/home/fly818/var/REPO/A/AS/ASH
Finished 2009-03-27T09:30:44