develooper Front page | perl.perl5.porters | Postings from November 2017

Re: Revisiting smart match

Thread Previous | Thread Next
Dan Book
November 28, 2017 21:50
Re: Revisiting smart match
Message ID:
On Tue, Nov 28, 2017 at 1:58 PM, Zefram <> wrote:
> More possibilities: "with" for smartmatching (do_stuff() with Number), and
> "because" for condition (do_stuff() because $_ == 3).  These don't seem
> stylistically related to each other, but they're individually appealing.
> Pairing "with" with "where" could work.

Just a note, not sure if it would be a problem here, but 'with' is heavily
used as a function for composing roles in Moo(se) and Role::Tiny.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About