diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-02 00:06:01 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-02 00:06:01 +1300 |
commit | 18582d7a93edc5700c266c889a04ee569c0e2416 (patch) | |
tree | 581f450055a59a56e4165f1b6f2fbaff696019ce | |
parent | Bump version number (diff) | |
download | Music-Lyrics-LRC-18582d7a93edc5700c266c889a04ee569c0e2416.tar.gz Music-Lyrics-LRC-18582d7a93edc5700c266c889a04ee569c0e2416.zip |
Correct missing load() call in SYNOPSIS
-rw-r--r-- | lib/Music/Lyrics/LRC.pm | 1 |
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 |