in reply to Re^6: LWP::Simple Empty File
in thread LWP::Simple Empty File
The above code runs on my machine. This is bizarre.#!/usr/bin/perl -w use strict; use LWP::Simple; $|=1; #turn off buffering so we see all the lines print "starting...get...\n"; my $content = get("http://perlmonks.org/?node_id=957704"); die "blank content" unless defined $content; print "ending...get...\n"; print $content; print "END of CONTENT\n";
I guess now we come down to the very improbable...how did you install LWP::Simple on your Windows machine?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: LWP::Simple Empty File
by idlemind (Initiate) on Mar 04, 2012 at 21:50 UTC |