Subject: | Composing Moo::Roles to object causes error if two attributes with defaults are composed |
Date: | Mon, 29 Sep 2014 15:08:38 -0400 |
To: | bug-Moo [...] rt.cpan.org |
From: | Dan Book <grinnz [...] gmail.com> |
Perl 5.16. Example code attached. Running "use MooTest; MooTest->new"
causes what I assume to be the code to compose the attributes to be spit
out to STDERR along with the warning "Use of ?PATTERN? without explicit
operator is deprecated at (eval 26) line 50." It appears to be interpreting
the two ternary operators as a regex.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.