Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl $dir = "/Infoserver/firstdirectory/seconddirectory/mydirectory"; opendir(DIR, $dir) || die "Can not open: $!\n"; while(defined ($file = readdir DIR)) { print "$file\n" } closedir(DIR);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading a Directory on another server
by waswas-fng (Curate) on Jan 03, 2003 at 19:22 UTC | |
by Anonymous Monk on Jan 03, 2003 at 19:38 UTC | |
by waswas-fng (Curate) on Jan 03, 2003 at 19:49 UTC | |
|
Re: Reading a Directory on another server
by Callum (Chaplain) on Jan 03, 2003 at 19:20 UTC |