Help for this page

Select Code to Download


  1. or download this
    my $url = shift;
    if (!$url) {
        print "Usage: $0 URI\n";
        exit 1;
    }
    
  2. or download this
    if ($url !~ m(^http://)i) {
        $url = 'http://' . $url;
    }