L
Larry Gates
You use a module that understands HTML for processing HTML data.
---------------------------
#!/usr/bin/perl
use warnings;
use strict;
use HTML::TreeBuilder;
use LWP::Simple;
my $site_url = 'http://www.fourmilab.ch/cgi-bin/Yoursky';
my $url_args = 'z=1&lat=35.0836&ns=North&lon=106.651&ew=West';
my $t = get "$site_url?$url_args" || "Problem";
my $tree = HTML::TreeBuilder->new_from_content($t);
foreach my $elem ( $tree->find_by_attribute('name', 'jd') ) {
print $elem->attr('value'), "\n";
}
---------------------------
Tad,
I have huge problems with modules on windows. Much of itcould be with two
sprained hands, but all of it is more than I can do right now.
There's modules out there for this, u.a. Time :: juilian or date:: time
456713333.
There was a time that I coud downloada modulefromcpan and put it in a place
that activestate could understand,but that was a while back. My
sysadminbuddy just got my cd-rom rolling. He had to straighten out a pin.
I'll try the download but bet against it.
Cheers,
--
larry gates
Down that path lies madness. On the other hand, the road to hell is
paved with melting snowballs.
-- Larry Wall in <[email protected]>