- or download this
my @files = <data/j*.?.txt>;
- or download this
#!/usr/bin/env perl
use strict;
...
}
print "Using @files";
- or download this
$ ./gt.pl
Found data/j.a.txt data/j.foo.txt data/j.xyz.txt
$ ./gt.pl 'j*.?.txt'
Using j*.?.txt instead
Found data/j.a.txt