examples/iTunesStats.pl
perl iTunesStats.pl /path/to/itunes/music/library.xml num_top_items
Parse iTunes XML libraries and print some aggregate statistics.
Mac::iTunes::Library
Drew Stephens <drew@dinomite.net>, http://dinomite.net
$Revision: 72 $ $Date: 2009-10-28 22:10:20 -0700 (Wed, 28 Oct 2009) $ $Author: drewgstephens $
Copyright (C) 2007 by Drew Stephens
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Mac::iTunes::Library, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mac::iTunes::Library
CPAN shell
perl -MCPAN -e shell install Mac::iTunes::Library
For more information on module installation, please visit the detailed CPAN module installation guide.