Hi Philip,
This has been fixed. MCE 1.506 was released last night which includes the
fix.
Thank you,
Mario
On Thu, Jan 30, 2014 at 10:08 AM, Philip Mabon via RT
<bug-MCE@rt.cpan.org>wrote:
Show quoted text> Thu Jan 30 10:08:33 2014: Request 92583 was acted upon.
> Transaction: Ticket created by TAKADONET
> Queue: MCE
> Subject: mce_loop_f
> Broken in: 1.505
> Severity: (no value)
> Owner: MARIOROY
> Requestors: TAKADONET@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=92583 >
>
>
> Attempting to use mce_loop_f to read in a file and getting the following
> error message:
>
> MCE::Loop: '_file' is not a valid constructor argument
>
>
> Code in question is mostly empty.
>
> use MCE::Loop;
> mce_loop_f { chomp; print "$_" } "/home/takadonet/file.text";
>
>
> Code is failing in the MCE/Loop.pm at line 253 because the '_file' params
> is not in found in MCE.pm %_valid_fields_new at line 50.
>
>
> Cheers!
>