#!/usr/bin/perl -w
######################################################################
# (c) Michael Schilli 1999
######################################################################

use LWP::Simple;

$url = "http://remote.host.com/dir/file.html";

                      # Seitentext in $doc speichern
$doc = LWP::Simple::get($url); 

                      # Seite auf STDOUT ausgeben
$rc  = LWP::Simple::getprint($url); 

                      # Seite in Datei speichern
$rc  = LWP::Simple::getstore($url, "localfile.html");

                      # Laden falls geändert
$rc  = LWP::Simple::mirror($url, "localfile.html");
