Query: audio::mpd::common::item
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Audio::MPD::Common::Item(3pm) User Contributed Perl Documentation Audio::MPD::Common::Item(3pm)NAMEAudio::MPD::Common::Item - a generic collection itemVERSIONversion 1.120881SYNOPSISmy $item = Audio::MPD::Common::Item->new( %params );DESCRIPTIONAudio::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.METHODSmy $item = Audio::MPD::Common::Item->new( %params ); 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).AUTHORJerome QuelinCOPYRIGHT AND LICENSEThis software is copyright (c) 2007 by Jerome Quelin. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-04-01 Audio::MPD::Common::Item(3pm)