Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl Assignments Needed

by perlofwisdom (Pilgrim)
on Sep 18, 2007 at 21:13 UTC ( [id://639757]=note: print w/replies, xml ) Need Help??


in reply to Perl Assignments Needed

Kids are very into their music, yet downloaded music files are often not well organized. There are a number of perl modules that can read the headers of an mp3 file (ie., Artist, Title, Album, etc). So, have your students create a program that:

A) sorts the music files on their pc,

B) creates directories (they decide how to organize the directory names),

C) move the files to the appropriate directory,

D) Clean up (remove) any empty directories,

E) Print summary reports of content, i.e. number of songs in each category: by artist, by genre, artist unknown, etc.

F) Extra Credit for any other bells and whistles.

You can use this project to satisfy multiple learning objectives. They can go to CPAN and do a search on mp3 to get a variety of modules they can use. The larger program can be built in smaller increments as they learn to search for directories, download modules, read documentation, etc.

Good luck!!!

Replies are listed 'Best First'.
Re^2: Perl Assignments Needed
by Anonymous Monk on Jul 18, 2013 at 18:21 UTC

    part C) is extremely tricky as i have tried many different methods and im not getting the expected output or errors

Re^2: Perl Assignments Needed
by Anonymous Monk on Jul 18, 2013 at 18:23 UTC
    Does anyone have code for this

      Does anyone have code for this

      No, you're supposed to write it

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://639757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-19 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found