diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-01 22:52:27 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-01 22:52:27 +1300 |
commit | ec1ae933c09973f7d16cc2f9805eed5e18e55f58 (patch) | |
tree | 678fff678dddb441ee829f8bdb7c5e1870145fd0 /lib/Music/Lyrics/LRC.pm | |
parent | Specify order of desired line parser patterns (diff) | |
download | Music-Lyrics-LRC-ec1ae933c09973f7d16cc2f9805eed5e18e55f58.tar.gz Music-Lyrics-LRC-ec1ae933c09973f7d16cc2f9805eed5e18e55f58.zip |
warn not carp on unknown line format
Diffstat (limited to 'lib/Music/Lyrics/LRC.pm')
-rw-r--r-- | lib/Music/Lyrics/LRC.pm | 4 |
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 |