- or download this
$_ = <IN>;
chomp;
my @column = split /\t/;
- or download this
my @data;
while(<IN>) {
...
@row{@column} = split /\t/;
push @data, \%row;
}
- or download this
$row{'sex'} eq 'F' and $row{'body mass index'} > 40 and $row{blood pre
+ssure'} > 135
- or download this
push @data, \%row if $row{'sex'} eq 'F' and $row{'body mass index'} >
+40 and $row{blood pressure'} > 135;
- or download this
@filtered = grep { $_->{'sex'} eq 'F' and $_->{'body mass index'} > 4
+0 and $_->{blood pressure'} > 135 } @data;