- or download this
print "What is the name of the access rights .csv? (Full file name)\n"
+;
my $file = <>;
- or download this
print "What is the name of the access rights .csv? (Full file name)\n"
+;
chomp( my $file = <STDIN> );
- or download this
print "Is there a header in this file?\n";
my $header = <>;
...
}
else {$header = "undef";
}
- or download this
open (CSV, "<", $file);
- or download this
open CSV, '<', $file or die "Cannot open '$file' because: $!";