We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the commandline app the line
print $bitly->shorten(URL => shift @ARGV), $/ while @ARGV;
should be changed into
print $bitly->shorten(URL => shift @ARGV)->{url}, $/ while @ARGV;
or even better
for ( @ARGV ) { my $url = $bitly->shorten( URL => $_ ); $url = $url->{url} if 'HASH' eq ref $url; print $url, $/; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the commandline app the line
should be changed into
or even better
The text was updated successfully, but these errors were encountered: