Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: bpjonsson [...] gmail.com
Cc:
AdminCc:

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



Subject: Possible bug/typo in Type::Registry
Date: Tue, 11 Feb 2020 20:43:59 +0100
To: bug-Type-Tiny [...] rt.cpan.org
From: BP Jonsson <bpjonsson [...] gmail.com>
Isn't `@_` a typo for `@$_` at < https://metacpan.org/release/Type-Tiny/source/lib/Type/Registry.pm#L68> or is it some special magic I'm unaware of? It seems it is looping over a list of arrayrefs, so shouldn't it be unpacking that arrayref rather than the argument list? Sorry for the noise if I'm wrong (though in that case a small explanation what is *really* going on there would be most welcome! :-)
It should probably be @$opt I probably only ever test the method with adding a single library, in which case, it will work by dumb luck.
Fixed in 1.010000.