Fixed:
https://metacpan.org/source/PRBRENAN/Math-Cartesian-Product-1.009
Thanks very much for your suggestion, the implementation of which has
improved the module considerably: it can now tackle larger cases faster
without the array overhead.
Please let me know if you have any more suggestions.
Thanks,
Phil
Philip R Brenan
On Tue, Aug 18, 2015 at 2:15 PM, Philip R Brenan via RT <
bug-Math-Cartesian-Product@rt.cpan.org> wrote:
Show quoted text> Queue: Math-Cartesian-Product
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=106507 >
>
> Hi Justin:
>
> Thanks for your note.
>
> I take your point. I will add it to my to-do list.
>
> Thanks for the pointer on wantarray().
>
> Phil
>
> Philip R Brenan
>
> On Tue, Aug 18, 2015 at 12:51 PM, Justin Case via RT <
> bug-Math-Cartesian-Product@rt.cpan.org> wrote:
>
> > Tue Aug 18 07:51:58 2015: Request 106507 was acted upon.
> > Transaction: Ticket created by justincase
> > Queue: Math-Cartesian-Product
> > Subject: ignore truth of block if called in void context
> > Broken in: (no value)
> > Severity: (no value)
> > Owner: Nobody
> > Requestors: justincase@yopmail.com
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=106507 >
> >
> >
> > if cartesian is called in void context, there is no point in building the
> > tuple list to return, so the return value of the block shouldn't matter
> in
> > that case. you can check the context using wantarray().
> >
>
>