in reply to
Re: Why Moose uses this syntax??!!
in thread
Why Moose uses this syntax??!!
That's because
default => ()
is incorrect. This doesn't answer the question. If anything, that shows an advantage of using a hash ("free" parameter count check).
Comment on
Re^2: Why Moose uses this syntax??!!
Download
Code
Replies are listed 'Best First'.
Re^3: Why Moose uses this syntax??!!
by
Anonymous Monk
on Dec 28, 2014 at 10:31 UTC
"because it's not correct" is a reasonable answer, I'd say :) Other then that, I don't know Moose and the OP
doesn't know it either
:)
[reply]
In Section
Seekers of Perl Wisdom