Created
July 11, 2015 14:33
-
-
Save Tux/d7f5afd66fea7eecc686 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!perl6 | |
use v6; | |
use Slang::Tuxic; | |
use Text::CSV; | |
sub Filter (CSV::Row $r) { | |
$r<legs> < 8 && $r<code> > 2; | |
} # Filter | |
csv (in => "legs.csv", | |
out => $*OUT, | |
headers => "auto", | |
filter => &Filter); | |
csv (in => "legs.csv", | |
out => $*OUT, | |
headers => "auto", | |
filter => sub $ (CSV::Row $r) { | |
$r<legs > 70; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment