RosettaCodeData/Task/Web-scraping/Perl/web-scraping.pl

6 lines
126 B
Perl
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
use LWP::Simple;
my $url = 'http://tycho.usno.navy.mil/cgi-bin/timer.pl';
get($url) =~ /<BR>(.+? UTC)/
and print "$1\n";