Win has asked for the wisdom of the Perl Monks concerning the following question:
I have tried the following:opendir(DIR_A,"$input_directory") or die $!; INNER_A: while(my $job =readdir(DIR_A)){
And a few other similar pieces. But without much luck.INNER_A: while(my $job =readdir(DIR_A)){ # chomp; next unless -f $job; # ignore specials
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with reading files when we have new directories
by davorg (Chancellor) on Feb 07, 2007 at 15:05 UTC | |
|
Re: Problem with reading files when we have new directories
by philcrow (Priest) on Feb 07, 2007 at 15:02 UTC | |
|
Re: Problem with reading files when we have new directories
by GrandFather (Saint) on Feb 07, 2007 at 19:57 UTC | |
|
Re: Problem with reading files when we have new directories
by fmerges (Chaplain) on Feb 07, 2007 at 15:05 UTC |