Click here to get back home

LWP question on windows98

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
LWP question on windows98 Mark Day 10-07-2004
Posted by Mark Day on October 7, 2004, 8:19 pm
Please log in for more thread options
Trying to run this script on Win98 using active perl 5.6.1,
and the new file index.html is not getting created,
also no data is printed when i try to print to STDOUT,
as I am doing bellow.

any tips appreciated.

#!C:perlbinperl
use LWP::Simple;

$file = ">index.html";
$url = get('http://127.0.0.1/index.html');

getstore ($url, $file);

print $file;



Posted by Brian McCauley on October 8, 2004, 7:18 pm
Please log in for more thread options


Mark Day wrote:

> use LWP::Simple;
>
> $file = ">index.html";
> $url = get('http://127.0.0.1/index.html');
>
> getstore ($url, $file);

> any tips appreciated.

Examine the value of $url




Posted by Mark Day on October 9, 2004, 12:44 am
Please log in for more thread options


Brian McCauley wrote:
>
>
> Mark Day wrote:
>
>> use LWP::Simple;
>>
>> $file = ">index.html";
>> $url = get('http://127.0.0.1/index.html');
>>
>> getstore ($url, $file);
>
>
> > any tips appreciated.
>
> Examine the value of $url


That value was OK.




Similar ThreadsPosted
installing www::mechanize on a windows98 machine November 13, 2005, 8:31 pm
DBI question November 5, 2004, 4:28 pm
Newbie Question January 3, 2005, 4:11 pm
Question to WIN32::OLE October 14, 2004, 11:34 am
Simple question September 15, 2005, 4:17 am
Getopt::Std question September 7, 2005, 9:42 am
Question regarding databases.. November 18, 2005, 9:41 am
Module Question October 25, 2004, 11:42 am
A question of name space October 31, 2004, 2:55 pm
Mechanize question November 8, 2004, 10:57 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap