in reply to Trouble with File::Find::Rule
It looks like your second time through the loop, the contents of @files, will be overwritten.
Do you even need a loop? Would the following not work as well?
@files = File::Find::Rule->file() ->name( "*.wma", "*.wmv" ) ->in( 'C:\Test\Calls\Archive', 'C:\Test\Calls\History');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Trouble with File::Find::Rule
by sowais (Sexton) on Dec 12, 2013 at 21:34 UTC | |
Re^2: Trouble with File::Find::Rule
by taint (Chaplain) on Dec 12, 2013 at 22:10 UTC | |
by Anonymous Monk on Dec 13, 2013 at 03:07 UTC | |
by taint (Chaplain) on Dec 13, 2013 at 04:23 UTC | |
by Anonymous Monk on Dec 13, 2013 at 04:26 UTC |
In Section
Seekers of Perl Wisdom