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.