linux-l: wget

Andreas Fitzner fitzner at informatik.hu-berlin.de
Mo Jul 6 21:26:48 CEST 1998


geh mal zu 
	www.cpan.org/cpan.html
	(Comprehensive Perl Archiv Network)
und zieh dir dort:

    The libwww Bundle - Contains eight big module sets related 
    to the World Wide
    Web: HTML, LWP, MIME, WWW, HTTP, URI, File, and Font. See their
    entries elsewhere in this document.
    If you install the entire libwww bundle, you'll
    get them all. Do it. 

Das Kompilieren ist super leicht
(steht alles in der docu)
    perl Makefile.PL; make; make test; make install
(Ich hatte selbst auf Sinix keine Probleme beim "ubersetzen)

Wenn du ein bisschen Zeit hast kannst du ja auch mal versuchen
	perl -MCPAN -e 'shell;'
das vereinfacht das downloaden und kompiliert gleich 
=> minimun an Tastendruecken.

bye, Andreas
--------------------------------------------------------------------------------

> Hallo Andreas,
> 
> das sieht ja schon ganz praktisch und gut aus. Leider bekomme
> ich auf meiner Suse-Distribution 5.0 einen Fehler:
> 
> rade> /usr/bin/perl /tmp/perl_test
> Can't locate LWP/Simple.pm in @INC at /tmp/perl_test line 3.
> BEGIN failed--compilation aborted at /tmp/perl_test line 3.

--------------------------------------------------------------------------------
#! /usr/local/bin/perl

use LWP::Simple;

	@a=get ("http://www.informatik.hu-berlin.de/");
	print @a;
	open(R,">res") || die;
		print R @a;
	close(R);

--------------------------------------------------------------------------------




Mehr Informationen über die Mailingliste linux-l