in reply to Re^2: glob: where are the full paths?
in thread glob: where are the full paths?
#!/sw/bin/perl use strict; use warnings; use File::Glob ':glob'; my @files = </sw/bin/*>; foreach my $file (@files) { print $file . "\n"; }
I'm using Tiger. Here, it shows me all the files in /sw/bin.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: glob: where are the full paths?
by 7stud (Deacon) on Nov 14, 2009 at 06:55 UTC | |
by Marshall (Canon) on Nov 14, 2009 at 10:59 UTC |