doing an inner join via cross-product

2020-07-19 Thread Joseph Brenner
I was thinking about the cross-product operator the other day, and I was wondering if there might be a convenient way of filtering the resulting cartesian product to do something like a database inner join: my @level = ( godzilla => 9 ,gremlin => 3, hanuman => 5 ); my @origin = (

Re: doing an inner join via cross-product

2020-07-19 Thread Darren Duncan
This reminds me of my 2009 Set::Relation Perl module, which works to help you do SQL features like this in your application, but will soon be superseded by another module that also has a Raku version. -- Darren Duncan On 2020-07-19 1:02 p.m., Joseph Brenner wrote: I was thinking about the cros

Raku version of "The top 10 tricks of Perl one-liners" ?!?

2020-07-19 Thread William Michels via perl6-users
Hello, I ran across this 2010 Perl(5) article on the Oracle Linux Blog: "The top 10 tricks of Perl one-liners" https://blogs.oracle.com/linux/the-top-10-tricks-of-perl-one-liners-v2 Q1. Now that it's a decade later--and Raku (née Perl6) has hit the scene--can someone translate the 'top ten trick