Doing a
perl -V
(not -v) will list @INC at the bottom of the output.
Merrill
-Original Message-
From: Carl Jolley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 12:01 PM
To: Walter Usyk
Cc: [EMAIL PROTECTED]
Subject: Re: How do I add a directory to my include
As far as I know, perl does not free memory (back to the system); you can
never shrink.
You can avoid getting too big in the first place.
You can restart (exec) yourself if you get to big.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
sunil matte
Hi! I'm not sure why adding the 1; makes it work (that really is only needed at
the end of a package definition to return a true value). However, I think I can
tell you another way to solve the problem, and what the problem actually is
It looks to me that the script is being run with taint
If all you want to do is download the file, try this...
# Tested
use LWP::Simple;
my $localfile = 'myfile.pdf';
my $remotefile =
'http://historychannel.aestaging.com/egypt/EgyptTeacherGuide.pdf';
open OUT, $localfile;
binmode OUT;
print OUT get($remotefile);
close OUT;
Rob
-Original
First off, please disregard this if this is a
duplicate post. I attempted to write to the mailing list before and wa
unsuccessful. I am writing a perl script that converts various documents and
even websites to text and emails it back to the sender. I have been succesful
with