Help for this page

Select Code to Download


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