Skip Menu |

This queue is for tickets about the Type-Tiny CPAN distribution.

Report information
The Basics
Id: 96379
Status: resolved
Priority: 0/
Queue: Type-Tiny

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.044
Fixed in: 0.046



Subject: documentation error in Types::Standard vis-à-vis coercions
The "Coercions" section in Types::Standard suggests using the overloaded "+" operator, which I believe is no longer possible. The example code given for Join results in an error consistent with removal of that operator: % perl <<'EOF' Show quoted text
> use strict; > use warnings; > use Types::Standard qw( Str Join ); > my $FileLines = Str + Join["\n"]; > EOF
Argument "__ANON__" isn't numeric in addition (+) at - line 4. Argument "Str" isn't numeric in addition (+) at - line 4.
That's annoying. :-( Thought I'd removed all trace of "+" in the documentation. Thanks.
Patched in 0.045_02.
Resolved in 0.046.