Saturday, July 12, 2008

determining your visible IP address using perl and

A while back Ashish Shukla put together
a great hack for using perl an to determine your IP address. My modified version of this is below:
#!/usr/bin/perl -w - This script uses service.

use LWP::Simple;
use strict;

my $url = "";

my $content = get($url);
print "$content\n";

No comments: