From: Dan Boger Date: Wed, 13 Jan 2010 21:38:02 +0000 (-0800) Subject: Fix compilation issue X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/6143e982ea2f215f5059c262d7904228a588ea32?hp=b7891f5d621a37490844913a219b47b2feb23ea4 Fix compilation issue --- diff --git a/twirssi.pl b/twirssi.pl index 5295231..840a20e 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -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 ($@) {