Search tips
  • perl.com: Web Basics with LWP
    my $url = 'http://freshair.npr.org/dayFA.cfm?todayDate=current'; # Just an example: the URL for the most recent /Fresh Air/ show use LWP::Simple; my $content = get $url; die "Couldn't get $url" unless defined $content; # Then go do things with $content, like this: if($content =~ m/jazz/i) { print "They're talking about jazz today on Fresh Air!\n"; } else { print "Fresh Air is apparently jazzless today.\n"; }
    LWP (short for Library for WWW in Perl ) is a group of Perl modules that lets you access data on the Web. Because there are so many modules in LWP, it's hard to know where to look for information on doing even the simplest things. This article offers...
    and burke for library lwp modules network oreilly oreillynet perl sean
    in Software Development > PERL with lwp perl programming


lwp from all users