Whitey has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use LWP::Simple; use LWP::UserAgent; $_ = get ("http://www.bloomberg.com/energy/index.html"); $data =~ /<!---------------PETROLEUM-----------------> (.*) <map name= +"BbgELogin2">/m; open (FH,"./file.txt") ||die"$!"; print FH $_; close FH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Pulling HTML off another site problem
by jeffa (Bishop) on Jun 23, 2001 at 22:29 UTC | |
by ChemBoy (Priest) on Jun 23, 2001 at 23:58 UTC | |
by cLive ;-) (Prior) on Jun 24, 2001 at 01:08 UTC |