Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 25, 2020 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/573b7b70f789a99836c6848bb666518a to your computer and use it in GitHub Desktop.
Save Whateverable/573b7b70f789a99836c6848bb666518a to your computer and use it in GitHub Desktop.
evalable6
use Data::Dump; my %looking-for = ( tcp-portrange => ['35450-35490:35450-35490'] ); my @e = ( { name => 'bar', udp-portrange => ['53'] }, { name => 'foo', tcp-portrange => ['35450-35490:35450-35490'] },);say Dump @e.first({ $_<tcp-portrange> eqv %looking-for<tcp-portrange>});
(exit code 1)
===SORRY!=== Error while compiling /tmp/oa6osD2EzX
Could not find Data::Dump in:
file#/home/bisectable/git/whateverable/sandbox/lib
inst#/home/bisectable/.raku
inst#/tmp/whateverable/rakudo-moar/e56eddd8486e0f6c3bee0edb7c505cb605b68f64/share/perl6/site
inst#/tmp/whateverable/rakudo-moar/e56eddd8486e0f6c3bee0edb7c505cb605b68f64/share/perl6/vendor
inst#/tmp/whateverable/rakudo-moar/e56eddd8486e0f6c3bee0edb7c505cb605b68f64/share/perl6/core
ap#
nqp#
perl5#
at /tmp/oa6osD2EzX:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment