Rootroute       Hosting       Order       Map       Login   Secure Inter-Network Operations  
 
man : Audio::MPD::Common::Item(3p)

Command: man perldoc info search(apropos)  




Audio::MPD::ComUser:Contributed Perl DAudio::MPD::Common::Item(3)


NAME
       Audio::MPD::Common::Item - a generic collection item

SYNOPSIS
           my $item = Audio::MPD::Common::Item->new( %params );

DESCRIPTION
       "Audio::MPD::Common::Item" is a virtual class representing
       a generic item of mpd's collection. It can be either a
       song, a directory or a playlist.

       Depending on the params given to "new", it will create and
       return an "Audio::MPD::Common::Item::Song", an
       "Audio::MPD::Common::Item::Directory" or an
       "Audio::MPD::Common::Playlist" object. Currently, the
       discrimination is done on the existence of the "file" key
       of %params.

PUBLIC METHODS
       Note that the only sub worth it in this class is the
       constructor:

       new( key => val [, key => val [, ...] ] )
           Create and return either an
           "Audio::MPD::Common::Item::Song", an
           "Audio::MPD::Common::Item::Directory" or an
           "Audio::MPD::Common::Playlist" object, depending on
           the existence of a key "file", "directory" or
           "playlist" (respectively).

SEE ALSO
       Audio::MPD
       POE::Component::Client::MPD

AUTHOR
       Jerome Quelin, "<jquelin at cpan.org>"

COPYRIGHT & LICENSE
       Copyright (c) 2007 Jerome Quelin, all rights reserved.

       This program is free software; you can redistribute it
       and/or modify it under the same terms as Perl itself.















perl v5.10.0                2009-09-11                          1




rootr.net - man pages