netskope/ntskp-api-06.pl

21 lines
370 B
Perl
Raw Permalink Normal View History

2022-07-18 17:28:22 +02:00
#!/usr/bin/perl -w
use strict;
use warnings;
use autodie;
use POSIX qw(strftime);
use File::Temp qw/ tempfile tempdir /;
use Text::CSV;
my $file = "widget-18465-20200611.txt";
open my $fh, "<", $file;
my $csv = Text::CSV->new({binary => 1, auto_diag => 1});
my $header = $csv->getline($fh);
while (my $row = $csv->getline($fh)) {
print "$row->[1]\n";
}
close $fh;