[Dancer-users] Dancer::MIME return value
xsawyerx at gmail.com
Mon Oct 31 13:50:01 CET 2011
This should indeed be fixed.
On Mon, Oct 31, 2011 at 2:44 PM, <thecrux at gmail.com> wrote:
> I had noticed that Dancer/MIME.pm (and also Dancer/Core/MIME.pm in Dancer2)
> return 42
> This is wrong, because generate warning
> $ perl -wce '42'
> Useless use of a constant (42) in void context at -e line 1.
> -e syntax OK
> Also, with `use warnings FATAL => 'all'` (default for Moo) returned error
> $ perl -c -Ilib lib/Dancer/Core/MIME.pm ; echo $?
> Useless use of a constant (42) in void context at lib/Dancer/Core/MIME.pm
> line 77.
> Vladimir Lettiev aka crux ✉ theCrux at gmail.com
> Dancer-users mailing list
> Dancer-users at perldancer.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dancer-users