]> git.sommitrealweird.co.uk Git - twirssi-net-twitter-lite.git/blobdiff - twirssi.pl
Fix compilation issue
[twirssi-net-twitter-lite.git] / twirssi.pl
index 5295231f8c07ede5bb0be5239227ab779679b4b2..840a20eb84632f761a9b0711e09e4d1ec343fd5a 100644 (file)
@@ -543,8 +543,9 @@ sub cmd_login {
             }
 
             unless ( $twit->authorized ) {
+                my $url;
                 eval {
-                    my $url = $twit->get_authorization_url;
+                    $url = $twit->get_authorization_url;
                 };
 
                 if ($@) {