Skip Menu |

This queue is for tickets about the Mojito CPAN distribution.

Report information
The Basics
Id: 85605
Status: resolved
Priority: 0/
Queue: Mojito

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: ribasushi [...] leporine.io
AdminCc:

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



Subject: Smartmatch is experimental: fails on 5.18
Smartmatch has been declared experimental in 5.18 causing fatal errors in the test suite. Sample fail report: http://www.cpantesters.org/cpan/report/29727440 HTH && Thanks,
Subject: Re: [rt.cpan.org #85605] Smartmatch is experimental: fails on 5.18
Date: Sat, 25 May 2013 06:14:29 -0600
To: bug-Mojito [...] rt.cpan.org
From: "Mateu X. Hunter" <hunter [...] missoula.org>
I don't understand why smartmatch and given would be marked experimental in 5.18 when they've been around since 5.10 2013/5/25 Andreas Koenig via RT <bug-Mojito@rt.cpan.org>: Show quoted text
> Sat May 25 06:49:29 2013: Request 85605 was acted upon. > Transaction: Ticket created by ANDK > Queue: Mojito > Subject: Smartmatch is experimental: fails on 5.18 > Broken in: 0.21 > Severity: (no value) > Owner: Nobody > Requestors: ANDK@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85605 > > > > Smartmatch has been declared experimental in 5.18 causing fatal errors in the test suite. Sample fail report: > > http://www.cpantesters.org/cpan/report/29727440 > > HTH && Thanks, >
OK, so I see in the Perl 5.18 delta that these features have been regressed to experimental, but what I don't understand is that there should just a warning not a failure. I'm not convinced Mojito has a bug at this point so I'm closing this ticket.
RT-Send-CC: ANDK [...] cpan.org
On Sat May 25 08:22:33 2013, MATEU wrote: Show quoted text
> OK, so I see in the Perl 5.18 delta that these features have been > regressed to experimental, but what I don't understand is that > there should just a warning not a failure. I'm not convinced > Mojito has a bug at this point so I'm closing this ticket. >
Mojito does have a bug - it is not ready to handle the new working. You are using Moioi, which uses strictures, which in turn fatalizes any perl-core warning. So what is just a warning for most, is a fatal exception for you. Please consider reopening and fixing the cause of this ticket - there is no practical way Mojito will function under 5.18+ without changes.
Ok... wtf. I have some odd spellchecker interaction here... What was said: "...does not support the new wording. You are using Moo, which..."
Thanks for the explanation Riba, yeah strictures is doing its fatal => 'ALL' thing. I've suppressed the smartmatch warning in Mojito v0.22