aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-01 22:52:27 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-01 22:52:27 +1300
commitec1ae933c09973f7d16cc2f9805eed5e18e55f58 (patch)
tree678fff678dddb441ee829f8bdb7c5e1870145fd0 /lib
parentSpecify order of desired line parser patterns (diff)
downloadMusic-Lyrics-LRC-ec1ae933c09973f7d16cc2f9805eed5e18e55f58.tar.gz
Music-Lyrics-LRC-ec1ae933c09973f7d16cc2f9805eed5e18e55f58.zip
warn not carp on unknown line format
Diffstat (limited to 'lib')
-rw-r--r--lib/Music/Lyrics/LRC.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm
index 9cc5154..cbd5250 100644
--- a/lib/Music/Lyrics/LRC.pm
+++ b/lib/Music/Lyrics/LRC.pm
@@ -174,8 +174,8 @@ sub load {
next LINE;
}
- # This line doesn't match anything we understand, complain but continue
- carp "Unknown line format on line $NR";
+ # This line doesn't match anything we understand, complain but persist
+ warn "Unknown format for line $NR\n";
}
# All done, return the number of lyrics we have now