]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[lastfm] move use strict
authorbw1 <redacted>
Sun, 31 Jan 2021 20:10:49 +0000 (21:10 +0100)
committerbw1 <redacted>
Sun, 31 Jan 2021 20:14:22 +0000 (21:14 +0100)
scripts/lastfm.pl

index 34378ce017e5bc956589905b037528284ee59e46..079ceb32b385ee7aa77df7a48632b43b2f0f3133 100644 (file)
@@ -1,4 +1,7 @@
 # vim: set expandtab:
+use strict;
+use warnings;
+no warnings 'closure';
 use vars qw($VERSION %IRSSI);
 $VERSION = "5.9";
 %IRSSI = (
@@ -246,9 +249,6 @@ sub DEBUG {
   Irssi::settings_get_bool("lastfm_debug");
 };
 
-use strict;
-use warnings;
-no warnings 'closure';
 use Data::Dumper;
 use Encode;
 use HTML::Entities;
git clone https://git.99rst.org/PROJECT