Dear All,
I would like to download a page of URL and put it into a file. The following
code works okay, but it prints the web-page on standrd-output. Hence I have
to run perl script as "perl page.pl > page.htm". Is there any way I can get
the page in variable and then I can easily put this variable
Dear Sirs:
I use the following four lines to change the timeout to 1000 seconds. But
timeout still happens. Any idea?
use LWP::Simple;
use LWP::UserAgent;
$browser = LWP::UserAgent->new(%options);
$browser->timeout(1000);
Thanks,
Sam
___
ActivePerl mai
--- robert johnson wrote:
> Hi, i really need some help.
dangit. right after i cross-posted this, i solved my own problem.
for some reason, with the ActiveState PDK requires that all "use" statements be
placed at the very top of the program. I had put them later in the program.
once i mo
Hi, i really need some help.
Ive been using Perl for a while, but am new to the ActiveState Perl Dev Kit
environment. my perl scripts will not build into executables correctly, when I
have "use ". teh perl dev kit claims that it cant find any perl
modules in my @INC paths, and that the @INC is
Title: Message
To get
File perms on a Win32 NTFS file system, use either Win32::NTFileSecurity or
Win32::Perms. There is sample code in the docs
Kirk W. BatzerSystems Programmer
AdministratorRutgers University65 Davidson Rd.Piscataway, NJ
08854Phone: (732) 445-6266Fax: (732)
445-54
Wayne Simmons wrote:
> First off ALWAYS "use strict;" it's just a waste not to.
Sound advice. Also, "use warnings;" as well.
>
> At your assignment: "$number = ;" I assume you put in a value here by
> hand, (hard coded). You should have shown an example of this. If
> you just type
> "$number = 0