I have a possible re-write for your program. It gets rid of the system
calls (the 'find' and the 'rm'). I've used references; the %by_genre hash
has the different genres as keys, and its values are array references.
The array references hold hash references. If you can't follow the code,
ask the
Paul Johnson wrote:
On Sun, Nov 02, 2003 at 05:46:22PM -0500, Dan Anderson wrote:
I created a pretty simple Perl script to create .m3u files for all
genres in my music library. (I eventually want to expand the script to
be able to create music match like playlists on the fly).
The problem I'm run
On Sun, Nov 02, 2003 at 05:46:22PM -0500, Dan Anderson wrote:
> I created a pretty simple Perl script to create .m3u files for all
> genres in my music library. (I eventually want to expand the script to
> be able to create music match like playlists on the fly).
>
> The problem I'm running into
I created a pretty simple Perl script to create .m3u files for all
genres in my music library. (I eventually want to expand the script to
be able to create music match like playlists on the fly).
The problem I'm running into is that for only 150 songs the following
code takes over 5 seconds to ex