Substituting $dir for your pathname!use strict; my $dir = "c:\\temp\\"; opendir (DIR, $dir) or die "Unable to open dir $dir : $!"; my @files = readdir(DIR) or die "Unable to readdir $dir : $!"; closedir DIR; for (@files) { print "$_\n" }
In reply to Re: read and link !
by roik
in thread read and link !
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |