Loading ...
Sorry, an error occurred while loading the content.

RE: [PBML] How to access WEB URLs and download html files

Expand Messages
  • Oliver Manickum
    Hey Amedeo, Using perl for win32.... and the lwp module.. ... #!/bin/perl # The module to use... # Simple acts as a Browser in perl... use LWP::Simple; # An
    Message 1 of 2 , Jul 28, 2000
    • 0 Attachment
      RE: [PBML] How to access WEB URLs and download html files

      Hey Amedeo,

      Using perl for win32.... and the lwp module..

      ---->
      #!/bin/perl

      # The module to use...
      # Simple acts as a Browser in perl...
      use LWP::Simple;

      # An example to get the content of the current site....
      # Define the url
      $url = 'http://www.yourwebsite.com/';

      # Get all content from the site..
      $message = get($url);

      # and print the quote
      print "$message";

      # and die..
      exit(0);

      ---->

      Oliver Manickum
      ____________________________
      ePages Internet & Multimedia
      http://www.epages.net/
      Tel : +27 (0)31 2651281



      -----Original Message-----
      From: Amedeo.Avanzato@... [mailto:Amedeo.Avanzato@...]
      Sent: 28 July 2000 09:50
      To: perl-beginner@egroups.com
      Subject: [PBML] How to access WEB URLs and download html files


      Does anybody know how how to access a www url and store in an array
      variable the content of an html file?
      Can you give me a simple example if it is not so difficult?
      What modules must I use?
      thanks
      Amedeo Avanzato


      --------------------------------------------------------------------<e|-
      0% Introductory APR!
      Instant Approval!
      Aria Visa - get yours today.
      http://click.egroups.com/1/7102/2/_/12898/_/964770578/
      --------------------------------------------------------------------|e>-




    Your message has been successfully submitted and would be delivered to recipients shortly.