From f1a6cd125c80ae6abdf85f45ea051e68e89ef4b0 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 12 May 2015 11:07:33 +1000 Subject: [PATCH] * Text::Playlist::PLS : update pod --- lib/Text/Playlist/PLS.pm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/Text/Playlist/PLS.pm b/lib/Text/Playlist/PLS.pm index 166f3d2..52e602d 100644 --- a/lib/Text/Playlist/PLS.pm +++ b/lib/Text/Playlist/PLS.pm @@ -80,6 +80,30 @@ Text::Playlist::PLS - parser for 'pls' format For description of these methods see description in base class L +=head1 SYNOPSIS + + my $pls = Text::Playlist::PLS->new; + my @items = $pls->load('/path/to/playlist.pls'); + + foreach my $item (@items) { + # + } + + $pls->save('/path/to/new-playlist.pls', @items); + +=head1 DESCRIPTION + +Lightweight parser and generator for pls playlists. +Will be usefull if you're just want to read playlist, or convert playlist +to another format, or change playlist items by some way. + +=head2 C +=head2 C +=head2 C +=head2 C + +For description of these methods see description in base class L + =head1 Item format Each parsed item has the following keys in hashref: @@ -90,6 +114,6 @@ Each parsed item has the following keys in hashref: =head1 AUTHORS - Alex 'AdUser' Z + Alex 'AdUser' Z =cut