Browse Source

* Playlist::PLS : use die() instead return

master
Alex 'AdUser' Z 9 years ago
parent
commit
a0e61d77f3
  1. 2
      lib/Playlist/PLS.pm

2
lib/Playlist/PLS.pm

@ -40,7 +40,7 @@ sub load {
$self->{items} = [];
open(my $FH, "<", $file) or return $!;
open(my $FH, "<", $file) or die $!;
my @lines = <$FH>;
close($FH);
chomp for @lines;

Loading…
Cancel
Save