Skip Menu |

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 89598
Status: resolved
Priority: 0/
Queue: Moo

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

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



Subject: has with default => q{} ignores that default
In the documentation I read: default Takes a coderef ... If a simple scalar is provided, it will be inlined as a string. ... q{} is not undef, that is a simple string. So I expect to default that. The workaround default => sub { q{} } works.
Oh shit tested on false machine with Moo 1.001. Already resolved in Moo 1.003001.