develooper Front page | perl.perl5.porters | Postings from July 2016

Re: async/await syntax - call to action

Thread Previous | Thread Next
From:
Zefram
Date:
July 1, 2016 23:25
Subject:
Re: async/await syntax - call to action
Message ID:
20160701232529.GV1170@fysh.org
Paul "LeoNerd" Evans wrote:
>would therefore love to see an implementation of a module that passes
>this unit test:

Passes with

    use Sub::Filter qw(mutate_sub_filter_return);
    sub supersize { mutate_sub_filter_return($_[0], sub { $_[0] + 1 }) }

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About