aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-02 00:06:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-02 00:06:01 +1300
commit18582d7a93edc5700c266c889a04ee569c0e2416 (patch)
tree581f450055a59a56e4165f1b6f2fbaff696019ce
parentBump version number (diff)
downloadMusic-Lyrics-LRC-18582d7a93edc5700c266c889a04ee569c0e2416.tar.gz
Music-Lyrics-LRC-18582d7a93edc5700c266c889a04ee569c0e2416.zip
Correct missing load() call in SYNOPSIS
-rw-r--r--lib/Music/Lyrics/LRC.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm
index bdf4013..deebffd 100644
--- a/lib/Music/Lyrics/LRC.pm
+++ b/lib/Music/Lyrics/LRC.pm
@@ -281,6 +281,7 @@ L<https://en.wikipedia.org/wiki/LRC_(file_format)>
...
my $lrc = Music::Lyrics::LRC->new();
open my $rfh, '<', 'mylyrics.lrc';
+ $lrc->load($rfh);
...
my $lyrics = $lrc->lyrics(); # arrayref of hashrefs: time (msec), text
my $tags = $lrc->tags(); # hashref, name => value