Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Set intersection problem

by hv (Prior)
on May 23, 2023 at 12:45 UTC ( [id://11152388]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $grouped = intersector([1..5], [3..7], [2, 6]);
    print join(' ', @$_), "\n" for values %$grouped;
    # output (in some order):
    ...
      # now analyse further, or return a result
      return \%grouped;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11152388]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (None)
    As of 2024-10-15 19:57 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.