in reply to I need help with opening a directory and reading files in that directory.
I ran you code and it is fine as far as it goes. You are not using your '%songs' hash, so that must be just left over. The '%length' hash is fine as close as I can tell.
What is not happening? Use the debugger (perl -d 'your_perl_script') and watch to see if what you expect to happen does. Hope that helps.
...the majority is always wrong, and always the last to know about it...
A solution is nothing more than a clearly stated problem...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I need help with opening a directory and reading files in that directory.
by brawal128 (Novice) on Sep 05, 2015 at 01:26 UTC | |
by Laurent_R (Canon) on Sep 05, 2015 at 09:10 UTC |