Perl6's ^^
Perl6's ^^
Posted Feb 17, 2015 20:27 UTC (Tue) by marcH (subscriber, #57642)In reply to: Perl6's ^^ by mbunkus
Parent article: Scalar typing in the PHP world
Of course. Any answer to the question I did actually ask?
Posted Feb 17, 2015 21:37 UTC (Tue)
by mbunkus (subscriber, #87248)
[Link] (1 responses)
perl6 -e 'sub a{ say "moo"; 1 }; sub b{ say "yay"; 1 }; sub c { say "stuff"; 1 }; a() ^^ (b() ^^ c())'
This will output all three strings and not just the first two.
Posted Feb 17, 2015 22:55 UTC (Tue)
by marcH (subscriber, #57642)
[Link]
Thanks, really appreciated.
Perl6's ^^
Perl6's ^^