Created
October 27, 2010 04:15
-
-
Save ironcamel/648424 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use LWP::UserAgent; | |
my $agent = LWP::UserAgent->new(); | |
$agent->credentials($host, $realm, $user, $pass); | |
print $agent->get($uri)->content(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compare to https://gist.github.com/648423