in reply to Re^2: Problem reading files from directory
in thread Problem reading files from directory
First of, you should probably be using strictures (place them after the shebang line (usually #!/usr/bin/perl) separated by a blank line):
use strict; use warnings;
foreach will just iterate over a list given. Since you don't modifiy @mp3files anywhere, the contents will remain the same (i.e. untouched) in your second iteration.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Problem reading files from directory
by yaneurabeya (Novice) on Jul 20, 2007 at 20:07 UTC | |
Re^4: Problem reading files from directory
by zoryn (Initiate) on Jul 20, 2007 at 21:05 UTC |