in reply to get value from a awk system command

Here is the Perl code:

open $fh, "<", "file.csv"; my $lines; while(<$fh>) { my @record = split /;/; # split on semicolon $lines .= $_ if $record[2] == 1; } close $fh; print("string: $lines");