Created
October 9, 2016 05:17
-
-
Save zoffixznet/fb533e093a0084e3407e61643d509aa7 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
use CSV::Parser; | |
my $fh = open './test.csv', :r; | |
my $parser = CSV::Parser.new( file_handle => $fh, contains_header_row => True ); | |
my %icu_transfers; | |
until $fh.eof { | |
my %data = %($parser.get_line()); | |
%icu_transfers{%data<NAME>} = %data if (%data<TRANSFER_TO> eq 'ICU') | |
} | |
say %icu_transfers; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment