in reply to Re: feed File::Find::Name from a list
in thread feed File::Find::Name from a list
... chomp(@jpeg) my $pattern = join("|", @jpeg); find( sub { push @foundfiles, $File::Find::name if /$pattern/o }, @dir +ectories ); open (OUT, ">>I:\\temp\\Outlist.txt") || die "can't open jpgfiles"; print OUT join("\n",@foundfiles), "\n"; close(OUT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: feed File::Find::Name from a list
by HeadScratcher (Novice) on Oct 05, 2004 at 22:02 UTC | |
by cyclist38 (Hermit) on Oct 06, 2004 at 08:47 UTC | |
by jdalbec (Deacon) on Oct 05, 2004 at 22:15 UTC | |
|
Re^3: feed File::Find::Name from a list
by jdporter (Paladin) on Oct 06, 2004 at 13:56 UTC |