[22649] in Perl-Users-Digest
Perl-Users Digest, Issue: 4870 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Apr 21 09:15:32 2003
Date: Mon, 21 Apr 2003 06:10:10 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 21 Apr 2003 Volume: 10 Number: 4870
Today's topics:
Re: Problem with paths in RedHat 8.0 <cwesterh@wanadoo.nl>
Re: Problem with paths in RedHat 8.0 <rereidy@indra.com>
Re: Problem with paths in RedHat 8.0 <cwesterh@wanadoo.nl>
Re: Q. Does ActivePerl for Windows require Apache to be (Jim Jones)
Statistics for comp.lang.perl.misc <gbacon@cs.uah.edu>
TimeStamp - localtime <ccsc3618@bigpond.net.au>
Re: Trouble with LWP <kasp@epatra.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 21 Apr 2003 11:15:55 +0200
From: "Cecil Westerhoff" <cwesterh@wanadoo.nl>
Subject: Re: Problem with paths in RedHat 8.0
Message-Id: <pan.2003.04.21.09.15.49.911918@wanadoo.nl>
On Sun, 20 Apr 2003 17:18:47 +0000, Ron Reidy wrote:
> What does "...it lokks like Paths are not correctly set ..." mean? How
> about posting the output of:
>
> 1. perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi
> 2. perl -MCPLANPLUS -e '0'
Gives nothing.
> And telling us what you are expecting, what you are getting, etc.
If I give 'i DBD::mysql' I get:
Installing: DBD::mysql
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I'/usr/include/mysql'
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
nocatchstderr (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.30 installed in /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::mysql
MAKE failed! - Onbekend bestand of map
Make: /usr/bin/make
args:
captured: cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I'/usr/include/mysql' -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
make: *** Geen regel voor aanmaken doel `/usr/lib/perl5/5.8.0/ExtUtils/xsubpp', nodig voor
`mysql.c'. Stop.
in CPANPLUS::Internals::Make::_make at Mon Apr 21 11:07:46 2003 at /usr/lib/perl5/site_perl/5.8.0/CPANPLUS/Internals/Make.pm line 428
An error occurred handling module DBD::mysql in CPANPLUS::Internals::Install::_install_module at Mon Apr 21 11:07:46 2003 at /usr/lib/perl5/site_perl/5.8.0/CPANPLUS/Internals/Install.pm line 156
Installing failed! in CPANPLUS::Backend::install at Mon Apr 21 11:07:46 2003 at /usr/lib/perl5/site_perl/5.8.0/CPANPLUS/Backend.pm line 228
Error installing DBD::mysql
Problem installing one or more modules
With severall other modules I get the same type of problem.
------------------------------
Date: Mon, 21 Apr 2003 05:38:48 -0600
From: Ron Reidy <rereidy@indra.com>
Subject: Re: Problem with paths in RedHat 8.0
Message-Id: <3EA3D848.5010003@indra.com>
Cecil Westerhoff wrote:
> On Sun, 20 Apr 2003 17:18:47 +0000, Ron Reidy wrote:
>
>
>>What does "...it lokks like Paths are not correctly set ..." mean? How
>>about posting the output of:
>>
[ snip ]
>
>>And telling us what you are expecting, what you are getting, etc.
>
>
> If I give 'i DBD::mysql' I get:
> Installing: DBD::mysql
> I will use the following settings for compiling and testing:
>
> cflags (mysql_config) = -I'/usr/include/mysql'
> libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
> nocatchstderr (default ) = 0
> ssl (guessed ) = 0
> testdb (default ) = test
> testhost (default ) =
> testpassword (default ) =
> testuser (default ) =
>
> To change these settings, see 'perl Makefile.PL --help' and
> 'perldoc INSTALL'.
>
> Checking if your kit is complete...
> Looks good
> Using DBI 1.30 installed in /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
> Writing Makefile for DBD::mysql
>
> MAKE failed! - Onbekend bestand of map
Translate please.
> Make: /usr/bin/make
> args:
> captured: cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
> cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
> cp lib/Mysql.pm blib/lib/Mysql.pm
> cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
> cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
> cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
> gcc -c -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I'/usr/include/mysql' -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
> make: *** Geen regel voor aanmaken doel `/usr/lib/perl5/5.8.0/ExtUtils/xsubpp', nodig voor
Translate please.
--
Ron Reidy
Oracle DBA
------------------------------
Date: Mon, 21 Apr 2003 14:49:01 +0200
From: "Cecil Westerhoff" <cwesterh@wanadoo.nl>
Subject: Re: Problem with paths in RedHat 8.0
Message-Id: <pan.2003.04.21.12.48.57.963516@wanadoo.nl>
On Mon, 21 Apr 2003 05:38:48 +0000, Ron Reidy wrote:
>
>
> Cecil Westerhoff wrote:
>> On Sun, 20 Apr 2003 17:18:47 +0000, Ron Reidy wrote:
>>
>>
>>>What does "...it lokks like Paths are not correctly set ..." mean? How
>>>about posting the output of:
>>>
>
> [ snip ]
>
>>
>>>And telling us what you are expecting, what you are getting, etc.
>>
>>
>> If I give 'i DBD::mysql' I get:
>> Installing: DBD::mysql
>> I will use the following settings for compiling and testing:
>>
>> cflags (mysql_config) = -I'/usr/include/mysql'
>> libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
>> nocatchstderr (default ) = 0
>> ssl (guessed ) = 0
>> testdb (default ) = test
>> testhost (default ) =
>> testpassword (default ) =
>> testuser (default ) =
>>
>> To change these settings, see 'perl Makefile.PL --help' and
>> 'perldoc INSTALL'.
>>
>> Checking if your kit is complete...
>> Looks good
>> Using DBI 1.30 installed in /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
>> Writing Makefile for DBD::mysql
>>
>> MAKE failed! - Unknown file or directory
> Translate please.
>
>> Make: /usr/bin/make
>> args:
>> captured: cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
>> cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
>> cp lib/Mysql.pm blib/lib/Mysql.pm
>> cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
>> cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
>> cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
>> gcc -c -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I'/usr/include/mysql' -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
>> make: *** No rule for making target
`/usr/lib/perl5/5.8.0/ExtUtils/xsubpp', necessary for
> Translate please.
>
> --
> Ron Reidy
> Oracle DBA
------------------------------
Date: Mon, 21 Apr 2003 07:47:09 GMT
From: harley.davidson@mailcity.com (Jim Jones)
Subject: Re: Q. Does ActivePerl for Windows require Apache to be installed ?
Message-Id: <3ea3a15c.2069565@nntp.ix.netcom.com>
On Mon, 21 Apr 2003 02:49:45 GMT, "Jürgen Exner"
<jurgenex@hotmail.com> wrote:
>Jim wrote:
>[Does ActivePerl for Windows require Apache to be installed ?]
>> Can anyone help?
>
>Of course not.
>Why would you possibly think it would?
>
>jue
>
Hi,
Because I was just not sure. I want to get started practicing Perl for
web stuff, and just didnt know. I have NT4 and loaded Apache2 which
works fine. I now want to add Perl so I can start working with it.
Please advise, given my scenario.
THanks for the responses,
Jim
------------------------------
Date: Mon, 21 Apr 2003 13:03:14 -0000
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <va7r0ib93068c5@corp.supernews.com>
Following is a summary of articles spanning a 7 day period,
beginning at 14 Apr 2003 13:14:51 GMT and ending at
21 Apr 2003 12:49:01 GMT.
Notes
=====
- A line in the body of a post is considered to be original if it
does *not* match the regular expression /^\s{0,3}(?:>|:|\S+>|\+\+)/.
- All text after the last cut line (/^-- $/) in the body is
considered to be the author's signature.
- The scanner prefers the Reply-To: header over the From: header
in determining the "real" email address and name.
- Original Content Rating (OCR) is the ratio of the original content
volume to the total body volume.
- Find the News-Scan distribution on the CPAN!
<URL:http://www.perl.com/CPAN/modules/by-module/News/>
- Please send all comments to Greg Bacon <gbacon@cs.uah.edu>.
- Copyright (c) 2003 Greg Bacon.
Verbatim copying and redistribution is permitted without royalty;
alteration is not permitted. Redistribution and/or use for any
commercial purpose is prohibited.
Excluded Posters
================
perlfaq-suggestions\@(?:.*\.)?perl\.com
faq\@(?:.*\.)?denver\.pm\.org
comdog\@panix\.com
Totals
======
Posters: 219
Articles: 624 (209 with cutlined signatures)
Threads: 168
Volume generated: 1244.3 kb
- headers: 544.8 kb (10,518 lines)
- bodies: 673.4 kb (22,758 lines)
- original: 423.7 kb (15,187 lines)
- signatures: 25.5 kb (615 lines)
Original Content Rating: 0.629
Averages
========
Posts per poster: 2.8
median: 2 posts
mode: 1 post - 96 posters
s: 4.2 posts
Posts per thread: 3.7
median: 3.0 posts
mode: 2 posts - 39 threads
s: 4.1 posts
Message size: 2041.9 bytes
- header: 894.0 bytes (16.9 lines)
- body: 1105.1 bytes (36.5 lines)
- original: 695.3 bytes (24.3 lines)
- signature: 41.9 bytes (1.0 lines)
Top 10 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
38 109.7 ( 42.0/ 62.7/ 50.8) tadmc@augustmail.com
26 48.8 ( 25.3/ 23.4/ 22.5) "Kasp" <kasp@epatra.com>
18 37.8 ( 16.3/ 18.8/ 18.1) abigail@abigail.nl
15 28.3 ( 14.4/ 10.5/ 6.0) Uri Guttman <uri@stemsystems.com>
15 32.0 ( 13.8/ 17.0/ 7.9) Brian McCauley <nobull@mail.com>
10 18.8 ( 7.5/ 11.3/ 3.9) Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
10 18.5 ( 6.6/ 10.7/ 6.4) ctcgag@hotmail.com
9 14.9 ( 6.8/ 8.1/ 4.7) "Bigus" <bigusATcreationfactorDOTnet>
9 14.3 ( 8.6/ 5.7/ 3.7) Bart Lateur <bart.lateur@pandora.be>
9 17.0 ( 9.8/ 7.2/ 3.3) Ted Zlatanov <tzz@lifelogs.com>
These posters accounted for 25.5% of all articles.
Top 10 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
109.7 ( 42.0/ 62.7/ 50.8) 38 tadmc@augustmail.com
48.8 ( 25.3/ 23.4/ 22.5) 26 "Kasp" <kasp@epatra.com>
37.8 ( 16.3/ 18.8/ 18.1) 18 abigail@abigail.nl
32.0 ( 13.8/ 17.0/ 7.9) 15 Brian McCauley <nobull@mail.com>
28.3 ( 14.4/ 10.5/ 6.0) 15 Uri Guttman <uri@stemsystems.com>
19.6 ( 9.4/ 10.2/ 4.3) 8 "Steffen Beyer" <Steffen.Beyer@de.bosch.com>
19.0 ( 5.7/ 12.1/ 6.9) 7 Benjamin Goldberg <goldbb2@earthlink.net>
18.8 ( 7.5/ 11.3/ 3.9) 10 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
18.5 ( 6.6/ 10.7/ 6.4) 10 ctcgag@hotmail.com
17.3 ( 5.5/ 11.8/ 6.0) 7 Bryan Castillo <rook_5150@yahoo.com>
These posters accounted for 28.1% of the total volume.
Top 10 Posters by Volume of Original Content (min. five posts)
==============================================================
(kb)
Posts orig Address
----- ----- -------
38 50.8 tadmc@augustmail.com
26 22.5 "Kasp" <kasp@epatra.com>
18 18.1 abigail@abigail.nl
15 7.9 Brian McCauley <nobull@mail.com>
7 6.9 Benjamin Goldberg <goldbb2@earthlink.net>
10 6.4 ctcgag@hotmail.com
15 6.0 Uri Guttman <uri@stemsystems.com>
7 6.0 Bryan Castillo <rook_5150@yahoo.com>
6 4.9 bwalton@rochester.rr.com
9 4.7 "Bigus" <bigusATcreationfactorDOTnet>
These posters accounted for 31.7% of the original volume.
Top 10 Posters by OCR (minimum of five posts)
==============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.961 ( 22.5 / 23.4) 26 "Kasp" <kasp@epatra.com>
0.960 ( 18.1 / 18.8) 18 abigail@abigail.nl
0.810 ( 50.8 / 62.7) 38 tadmc@augustmail.com
0.668 ( 2.9 / 4.3) 6 Joe Creaney <mail@annuna.com>
0.662 ( 3.7 / 5.7) 9 Bart Lateur <bart.lateur@pandora.be>
0.641 ( 2.5 / 3.9) 5 Malte Ubl <ubl@schaffhausen.de>
0.624 ( 2.9 / 4.6) 6 "rjh" <ccsc3618@bigpond.net.au>
0.619 ( 3.5 / 5.6) 8 "Jeff Snoxell" <Jeff@aetherweb.co.uk>
0.618 ( 4.9 / 8.0) 6 bwalton@rochester.rr.com
0.603 ( 6.4 / 10.7) 10 ctcgag@hotmail.com
Bottom 10 Posters by OCR (minimum of five posts)
================================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.469 ( 3.2 / 6.8) 5 Liberty Belle <libertybelle2112@yahoo.com>
0.467 ( 7.9 / 17.0) 15 Brian McCauley <nobull@mail.com>
0.464 ( 3.3 / 7.2) 9 Ted Zlatanov <tzz@lifelogs.com>
0.433 ( 2.1 / 4.9) 8 "Jürgen Exner" <jurgenex@hotmail.com>
0.426 ( 1.7 / 3.9) 5 mgjv@tradingpost.com.au
0.417 ( 4.3 / 10.2) 8 "Steffen Beyer" <Steffen.Beyer@de.bosch.com>
0.393 ( 3.0 / 7.7) 8 "Knute Snortum" <knuteNOSPAMPLEASE@trinityproject.org>
0.347 ( 3.9 / 11.3) 10 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.316 ( 1.7 / 5.5) 6 "Michael P. Broida" <michael.p.broida@boeing.com>
0.259 ( 1.9 / 7.5) 5 "Bill Smith" <wksmith@optonline.net>
30 posters (13%) had at least five posts.
Top 10 Threads by Number of Posts
=================================
Posts Subject
----- -------
18 Accesing machines of a network
15 How does Perl auto increase hash size?
15 How to do a regexp to find #'s?
14 Unlink Not Working On Windows Server
14 newbie:substitution in a variable name
12 Method inheritance?
11 regexp. for a two dates delimited with a minus
10 Need advice on my first Perl script
9 How to read one line from a text file
9 Can I use a hash slice through an anonymous hashref?
These threads accounted for 20.4% of all articles.
Top 10 Threads by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Subject
-------------------------- ----- -------
40.9 ( 17.9/ 22.5/ 19.3) 18 Accesing machines of a network
35.5 ( 15.9/ 18.6/ 12.4) 15 How does Perl auto increase hash size?
34.0 ( 2.0/ 32.0/ 32.0) 2 Posting Guidelines for comp.lang.perl.misc ($Revision: 1.4 $)
32.7 ( 9.2/ 23.0/ 9.7) 10 Need advice on my first Perl script
27.9 ( 13.6/ 13.0/ 7.0) 15 How to do a regexp to find #'s?
27.3 ( 14.6/ 12.0/ 8.4) 14 Unlink Not Working On Windows Server
22.9 ( 12.1/ 10.3/ 4.1) 14 newbie:substitution in a variable name
22.0 ( 10.2/ 11.0/ 6.0) 12 Method inheritance?
20.2 ( 9.2/ 10.9/ 5.9) 11 regexp. for a two dates delimited with a minus
18.5 ( 6.9/ 11.3/ 6.6) 8 French ascii characters?
These threads accounted for 22.7% of the total volume.
Top 10 Threads by OCR (minimum of five posts)
=============================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.857 ( 19.3/ 22.5) 18 Accesing machines of a network
0.781 ( 2.7/ 3.4) 5 remembering values
0.774 ( 7.5/ 9.6) 8 ANN: International Perl Beginners Mailing List
0.700 ( 8.4/ 12.0) 14 Unlink Not Working On Windows Server
0.694 ( 5.1/ 7.4) 5 Good Programming Practices - Avoiding Memory Leaks
0.692 ( 2.7/ 4.0) 8 Recusively search directory...
0.689 ( 5.0/ 7.2) 7 Help needed understanding bitwise operations
0.666 ( 12.4/ 18.6) 15 How does Perl auto increase hash size?
0.654 ( 1.4/ 2.1) 5 Environment Varibles
0.633 ( 4.9/ 7.7) 7 Validating user input to match certain characters
Bottom 10 Threads by OCR (minimum of five posts)
================================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.479 ( 3.3 / 6.9) 6 grep in array
0.450 ( 1.8 / 4.0) 8 Specific Regex Question
0.437 ( 1.1 / 2.5) 5 user command with Net::FTP
0.423 ( 9.7 / 23.0) 10 Need advice on my first Perl script
0.416 ( 2.8 / 6.8) 6 changing the date
0.412 ( 3.0 / 7.2) 5 Problem with paths in RedHat 8.0
0.411 ( 2.2 / 5.3) 6 GD::Graph-How to display string instead of values on axis?
0.398 ( 4.1 / 10.3) 14 newbie:substitution in a variable name
0.366 ( 2.2 / 6.0) 5 Interpolation problem with DB execute object
0.271 ( 2.0 / 7.5) 6 Stumped!
44 threads (26%) had at least five posts.
Top 9 Targets for Crossposts
============================
Articles Newsgroup
-------- ---------
7 comp.lang.perl.modules
2 comp.lang.javascript
1 comp.os.ms-windows.networking.misc
1 alt.perl
1 comp.mail.sendmail
1 comp.infosystems.www.servers.misc
1 comp.infosystems.www.servers.unix
1 it.comp.lang.perl
1 comp.databases.ibm-db2
Top 9 Crossposters
==================
Articles Address
-------- -------
4 alex@usenix.org, alex@usenix.org
3 Valerie VANLERBERGHE <valerie_vanlerberghe@yahoo.fr>
2 Rikard Bø <rikard_bo@yahoo.no>
2 NoJunkMailshah@xnet.com
1 Bryan Castillo <rook_5150@yahoo.com>
1 $$$ <googleGroups@yinti.com>
1 mgjv@tradingpost.com.au
1 sholden@cs.usyd.edu.au
1 Matt Veino <veino@bc.edu>
------------------------------
Date: Mon, 21 Apr 2003 10:40:57 GMT
From: "rjh" <ccsc3618@bigpond.net.au>
Subject: TimeStamp - localtime
Message-Id: <ZUPoa.4644$8K2.37881@news-server.bigpond.net.au>
Hi,
Im trying to assign a variable a timesatmp that i can use for writing
modified
times to a file.
My Code,
use strict;
use Getopt::Std;
use Time::localtime;
use POSIX 'strftime';
sub OpenFile;
sub CreateTS;
OpenFile($filename);
print FILEHANDLE CreateTS;
print FILEHANDLE "$separator\n";
print FILEHANDLE @lines;
print FILEHANDLE "$separator\n";
close FILEHANDLE;
sub CreateTS
{
$timestamp = strftime "%Y%m%d%H%M%S", localtime;
return $timestamp;
}
I receive this error every time i try and use this code.
Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday
= -1, isdst = -1) at ./post-it.pl line 115, <STDIN> line 2.
Can someone point me to the bright white light please ?
cheers.
------------------------------
Date: Mon, 21 Apr 2003 11:24:36 +0530
From: "Kasp" <kasp@epatra.com>
Subject: Re: Trouble with LWP
Message-Id: <b8014i$s8b$1@newsreader.mailgate.org>
> It works fine if you specify a URL that actually exists, like perhaps:
> http://www.perl.com/images/75-logo.jpg
Thanks for pointing it out Bob. But I did try with a valid link too, like
the one you sent me. The problem is persisting.
> If you tested the return code from getstore, you would be informed of
> such failures. I tested your code on AS Perl 5.8.0 build 805 on Windoze
> 98SE.
I use AS perl 5.8 too on Windows 2000 Server. But I am behind a firewall, so
wonder if that is giving me problems.
I can see the image when I type the URL on a web browser, but here is my
code below with the error I get.
CODE:
use LWP::Simple;
my $url = 'http://www.perl.com/images/75-logo.jpg';
my $file = 'pic.jpg';
my $err = getstore($url,$file);
print $err;
ERROR:
Use of uninitialized value in pattern match (m//) at
E:/Perl58/site/lib/LWP/Protocol.pm line 114.
Use of uninitialized value in concatenation (.) or string at
E:/Perl58/site/lib/LWP/Protocol.pm line 87.
501
What does this 501 error code mean anyways? Is it same as the HTTP Errors we
sometimes see on Web Explorers like IE?
Thanks
--
"Accept that some days you are the pigeon and some days the statue."
"A pat on the back is only a few inches from a kick in the butt." - Dilbert.
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 4870
***************************************