- or download this
use strict;
use warnings;
...
my $filename = <$FN[$k]>;
print("$filename\n");
}
- or download this
a
Use of uninitialized value in concatenation (.) or string at 689777.pl
+ line 6.
- or download this
for (@FN) {
while (defined(my $filename = glob($_))) {
...
}
}
- or download this
for my $filename (@FN) {
...
}
- or download this
for (0..18, 20..28, 30..38) {
my $filename = sprintf('out-02-%02d.txt', $_);
...
}