[21811] in Perl-Users-Digest
Perl-Users Digest, Issue: 4015 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Oct 23 14:05:44 2002
Date: Wed, 23 Oct 2002 11:05:11 -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 Wed, 23 Oct 2002 Volume: 10 Number: 4015
Today's topics:
CGI::Minimal does not work with enctype="multipart/form (Alex)
Re: Columns Limit <andrew_harton@agilent.com>
Re: DBI module INSERT command problem (Andrew Perrin (CLists))
Re: DBI module INSERT command problem <dgardiner@houston.rr.com>
Re: deleting a file... kill ??? Thanks... (Helgi Briem)
Re: deleting a file... kill ??? Thanks... <jason@baugher.pike.il.us>
Re: deleting a file... kill ??? Thanks... <joe+usenet@sunstarsys.com>
Enabling core dumps in child processes <{tony}@realh.co.uk>
Finding words in a string. <krikrok.horse@hotmail.com>
Locale troubles while installing mod_perl (Collin Condray)
negation (R.Noory)
Re: Passing array in the middle of the parrameter list <johngnub@worldnet.att.net>
Perl 5.8 installation on Solaris 8 "DynaLoader.a" error (Phillip Montgomery)
Perl bloggers? (Andrew Burton)
Re: Perl bloggers? <comdog@panix.com>
Perl compilation <christian.le-corre@esf.ericsson.se>
PPM and CPAN? <spikey-wan@bigfoot.com>
Re: PPM and CPAN? (Helgi Briem)
Re: PPM and CPAN? <usenet@dwall.fastmail.fm>
Re: Question about hash entries with two keys ctcgag@hotmail.com
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 23 Oct 2002 07:02:39 -0700
From: samara_biz@hotmail.com (Alex)
Subject: CGI::Minimal does not work with enctype="multipart/form-data"?
Message-Id: <c7d9d63c.0210230602.10fb59e6@posting.google.com>
Hello,
I was wondering if anyone had any experience with CGI::Minimal. I have
been using it as a light-weight alternative to CGI.pm to retrieve form
data (I do not need HTML generating capabilities of CGI.pm since using
templates is a more maintainable solution in most cases anyway).
I've been trying to get CGI::Minimal to work with file-upload forms,
but it does not seem to work at all. As soon as I add
enctype="multipart/form-data" to my form tag, my script that uses
CGI::Minimal never finishes. I know the problem is in CGI::Minimal,
because CGI.pm and direct read from STDIN work just fine. I've
searched newsgroups for any clues, and I am somewhat surprised that no
one had ever noticed that CGI::Minimal does not work for form-based
file uploads, even though it claims to. My platform is Windows 2000.
(The module seems to work on Unix). And I use ActivePerl 5.6.
CGI::Minimal version is 1.09.
Do you think CGI::Minimal is buggy and does not do file uploads on
Windows systems, or could it be something else? I would appreciate any
hints.
Thank you,
Alex
------------------------------
Date: Wed, 23 Oct 2002 16:41:10 +0100
From: "Andrew Harton" <andrew_harton@agilent.com>
Subject: Re: Columns Limit
Message-Id: <1035387513.52547@cswreg.cos.agilent.com>
Naser El-Bathy wrote:
> I'm trying to write a cgi script in Perl. This script should generate
> Excel version. The maiximum Excell sheet columns should be more than
> 700 columns.
> Is it possible to do so.
> Please advise.
> Your assistnace is appreciated.
Excel has maximum worksheet size of 65,536 rows by 256 columns.
For writing spreadsheets, you can use Spreadsheet::WriteExcel - I've found
that quite good. I think it'll allow you to create spreadsheets with an
arbitrarily large number of columns, but if you go over 256, Excel will give
an error when you try to open them.
Andrew
--
$s="acehJklnoPrstu ";$_="4dbce078c32ae92a6e30152a";
split//;for(0..$#_){print substr($s,hex $_[$_],1);}
------------------------------
Date: 23 Oct 2002 10:58:08 -0400
From: clists@perrin.socsci.unc.edu (Andrew Perrin (CLists))
Subject: Re: DBI module INSERT command problem
Message-Id: <84y98pkxrz.fsf@perrin.socsci.unc.edu>
"Doug" <dgardiner@houston.rr.com> writes:
> [snip]
> No offense taken, I just never heard of it. There is a SQL view for
> queries, but the syntax is quite a bit different than what is passed via DBI
> module.
No, it's not - the SQL you enter in Access's SQL view is parsed by the
same engine (idiotically called "Jet" by Microsoft) as SQL sent in via
DBI. To test your SQL directly in access, create a new query, select
SQL view, and type or copy/paste the SQL, then click the ! (execute)
button or the table button to view results.
If your SQL code is different from what you would write in the SQL
view of an Access query, that's your problem.
(This is NOT to say that the SQL that Access "writes" from its GUI
query constructor is necessarily what you would write - I actually had
a query once, back when I used Access, that I sped up by a factor of
1,000 by rewriting it by hand instead of letting Access write it from
the GUI.)
ap
--
----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists@perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
------------------------------
Date: Wed, 23 Oct 2002 15:29:00 GMT
From: "Doug" <dgardiner@houston.rr.com>
Subject: Re: DBI module INSERT command problem
Message-Id: <0fzt9.199643$Fw2.5521646@twister.austin.rr.com>
"Andrew Perrin (CLists)" <clists@perrin.socsci.unc.edu> wrote in message
news:84y98pkxrz.fsf@perrin.socsci.unc.edu...
> "Doug" <dgardiner@houston.rr.com> writes:
>
> > [snip]
> > No offense taken, I just never heard of it. There is a SQL view for
> > queries, but the syntax is quite a bit different than what is passed via
DBI
> > module.
>
> No, it's not - the SQL you enter in Access's SQL view is parsed by the
> same engine (idiotically called "Jet" by Microsoft) as SQL sent in via
> DBI. To test your SQL directly in access, create a new query, select
> SQL view, and type or copy/paste the SQL, then click the ! (execute)
> button or the table button to view results.
>
> If your SQL code is different from what you would write in the SQL
> view of an Access query, that's your problem.
>
> (This is NOT to say that the SQL that Access "writes" from its GUI
> query constructor is necessarily what you would write - I actually had
> a query once, back when I used Access, that I sped up by a factor of
> 1,000 by rewriting it by hand instead of letting Access write it from
> the GUI.)
>
> ap
So what did you do to speed it up? Did you add the table names to the field
names like I have seen in the SQL view? I'm not gonna split hairs by saying
that it included it and bracketized everything, but that is different
syntax, even though the SQL syntax as far as the INSERT command still
required the same parameters as is the same.
The speed issue is something I need to work on for another script that has a
SELECt command with several bind parameters. ' ove to speed that up, since
it involved looking at several table to do it.
------------------------------
Date: Wed, 23 Oct 2002 13:35:28 GMT
From: helgi@decode.is (Helgi Briem)
Subject: Re: deleting a file... kill ??? Thanks...
Message-Id: <3db69ec9.640473672@news.cis.dfn.de>
On 23 Oct 2002 12:50:51 +0100, Brian McCauley
<nobull@mail.com> wrote:
<SNIP list of ways to look through Perl documentation>
>These are basic skills in finding information.
That's how I found it, years ago. I'm a manual reader,
not a psychic.
>I don't see that
>there's any point writing documentation with an assumption that the
>reader lacks such basic skills. To do so will make the documentation
>way to cumbersome for the majority.
And fill it with answers to "Where can I get a list of Larry
Wall witticisms?" instead? Sorry, that was a low blow.
>> I still don't really understand why someone decided to call
>> it unlink and not rm or delete or remove or something.
>
>The Perl unlink() is called unlink because that's what it's called in
>C because that's what it is called in Unix because that's what it does
>in Unix.
And people who primarily use Unix like you and me make up
what, 0.1% of the world's computer users? 10% of the
world's programmers? Why should a system command be
named after the underlying mechanism and not the desired
effect? If it involves flipping a bit from 1 to 0 (I
believe it does), shouldn't it be called flip? Or switch?
>In Unix unlink() unlinks a file from the directory structure. In Unix
>you cannot explicitly delete a file. Unix will GC the file once there
>are no links and no process has it open.
>
>> PS.
>> brian, would it be possible to add a FAQ entry, something
>> like:
>>
>> "How do I delete a file?"
>> Use the unlink function documented in perldoc -f unlink
>
>IMHO the FAQ should only document things that really are frequently
>asked
A quick perusal of google turns up several dozen times
this year alone. I was supervising students one summer
and almost every one came to me with this question.
>or cannot easily be found by systematic use of the primary
>reference manuals. I think this questions falls just short of
>qualifying on either count.
I would contend that it's *not* easy to find with systematic
perusal of the primary reference manuals unless you
knew beforehand that unlink was the function you wanted.
I can think of several words that mean the same thing,
most a priori more likely to occur to an average speaker
of the English language than 'unlink', though possibly
not to the Unix guru.
(remove, obliterate, cancel, scrap, destroy, eliminate,
kill, erase, expunge, exterminate, eradicate, scrub, wipe,
delete, annul, blot, efface, nullify, abolish, excise,
extirpate, cut)
>What would be really usefull would be a mention in the "perldoc -f
>delete" that if you are looking for a function to delete files you
>should be looking at unlink().
That would do me.
I'm not asking anyone to change the name of the function,
just to make it easier to find by perusing the FAQs like
we keep telling people to do.
--
Regards, Helgi Briem
helgi AT decode DOT is
A: Top posting
Q: What is the most irritating thing on Usenet?
- "Gordon" on apihna
------------------------------
Date: Wed, 23 Oct 2002 17:25:29 GMT
From: Jason Baugher <jason@baugher.pike.il.us>
Subject: Re: deleting a file... kill ??? Thanks...
Message-Id: <Xns92B07E5F146D3jasonbaugherpikeilus@209.242.76.10>
helgi@decode.is (Helgi Briem) wrote in comp.lang.perl.misc:
> On Wed, 23 Oct 2002 12:41:06 GMT, Bart Lateur
> <bart.lateur@pandora.be> wrote:
>
>>Helgi Briem wrote:
>>
>>>I still don't really understand why someone decided to call
>>>it unlink and not rm or delete or remove or something.
>>
>>Because on Unix, it is not garanteed to delete a file.
>
> So what? If I rm 'foo' and 'foo' is a link to 'bar', I have
> still deleted foo. The fact that I haven't also deleted bar
> is irrelevant.
>
No, you haven't deleted foo. You've removed (or unlinked) the foo
reference (link) from the directory in which it resides. The actual file
may or may not be deleted by the file system itself, depending on whether
other references (links) still exist which point to the file.
Now, keep in mind that when I say "link" above, I am referring to hard
links, which are essentially references to a specific physical location
on disk, NOT to a file system path.
>>You can have more
>>than one hard connections (links) between the name of the file in the
>>filesystem, and the contents. and unlink deletes *one* such entry. Only
>>if *all* these name entries are deleted, the file contents itself gets
>>wiped.
>
> Hmm. I thought the Unix 'file delete' command was called
> 'rm', short for remove. Looking at the man, rm seems to
> be a wrapper, with options, around unlink and other things.
>
>>Of course, on Windows, this is an alien concept. There, there is a
>>one-to-one connection between the file path/name and the contents.
>
> No. You have links on Windows as well. Just not on
> Win95/98/Me is all. I don't count those archaic variants
> and have never used them.
>
Well, let's clarify this. Windows XP, NT, whatever have "shortcuts",
which are more or less equivalent to "symbolic links" in unix-like
O/S'es. Symbolic links, unlike regular links (hard) are pointers to file
locations based on the logical path location of the target file, versus
the link (hard) pointer to the actual physical location on disk.
So, Windows Xp, NT, whatever have symbolic links, but not hard links.
--
Jason Baugher
Virtual Adept Professional Consulting Services
1406 Adams Street, Quincy, IL 62301 - (217) 221-5406
jason@baugher.pike.il.us - http://baugher.pike.il.us/virtualadept
------------------------------
Date: 23 Oct 2002 14:06:31 -0400
From: Joe Schaefer <joe+usenet@sunstarsys.com>
Subject: Re: deleting a file... kill ??? Thanks...
Message-Id: <m3y98pqbbs.fsf@mumonkan.sunstarsys.com>
Jason Baugher <jason@baugher.pike.il.us> writes:
> helgi@decode.is (Helgi Briem) wrote in comp.lang.perl.misc:
[...]
> > No. You have links on Windows as well. Just not on
> > Win95/98/Me is all. I don't count those archaic variants
> > and have never used them.
> >
>
> Well, let's clarify this. Windows XP, NT, whatever have "shortcuts",
> which are more or less equivalent to "symbolic links" in unix-like
> O/S'es. Symbolic links, unlike regular links (hard) are pointers to
> file locations based on the logical path location of the target file,
> versus the link (hard) pointer to the actual physical location on disk.
>
> So, Windows Xp, NT, whatever have symbolic links, but not hard links.
I wonder if that's the sort of "clarification" the NTFS developers
gave to the authors of NT/2000's auditing tools.
--
Joe Schaefer "Heavier than air flying machines are impossible."
-- William Thomson (Lord Kelvin)
------------------------------
Date: Wed, 23 Oct 2002 14:35:27 GMT
From: Tony Houghton <{tony}@realh.co.uk>
Subject: Enabling core dumps in child processes
Message-Id: <slrnardctf.41c.{tony}@realh.co.uk>
I'm writing a program which is mainly in C, but uses a perl script to
manipulate some files before and after execution; the perl calls the C
using system(). The C program needs debugging, but I can't get it to
dump core when run from the perl script.
I've tried putting a little shell script between the perl and the C,
which sets ulimit -c unlimited, but it still doesn't dump core. I've tried
calling this wrapper script with bash's --login option, tried also
setting ulimit before calling the perl script, but it still doesn't
work. And the cwd is writable.
[Sorry about the repost, I got the perl group wrong]
--
TH * http://www.realh.co.uk
------------------------------
Date: Wed, 23 Oct 2002 19:26:20 +0200
From: Yils Kraabe <krikrok.horse@hotmail.com>
Subject: Finding words in a string.
Message-Id: <3DB6DBBC.14116E83@hotmail.com>
Hello,
I have a string and I want to find words in this string containing, say,
the letter 'e'. I was wondering what was the 'optimal' way in perl,
since I am not that used to it. I produced
$string = "Some text with words";
@string = split /\s+/, $string;
@mywords = grep { /e/ } @string;
It takes only 3 lines but I wonder if this is efficient to build a
temporary list @string. Is there another better way to do that?
Thanks!
--
Remove the mammal in my e-mail address to mail me.
------------------------------
Date: 23 Oct 2002 08:38:46 -0700
From: ccondray@usa.net (Collin Condray)
Subject: Locale troubles while installing mod_perl
Message-Id: <4951b977.0210230738.5d9bfe89@posting.google.com>
I am having some troubles setting up apache+mod_ssl+php+mod_perl on a
laptop. These are the commands I use to build apache:
untar the following files:
apache_1.3.26.tar.gz
mod_perl-1.27.tar.gz
php-4.2.3.tar.gz
gd-1.8.4.tar.gz
mod_ssl-2.8.10-1.3.26.tar.gz
mm-1.2.1.tar.gz
openssl-0.9.6g.tar.gz
Perform the following commands:
cd openssl-0.9.6g
sh config no-idea no-threads -fPIC
make
make test
cd ../mod_ssl-2.8.10-1.3.26
./configure --with-apache=../apache_1.3.26
cd ../gd-1.8.4
make
cd ../apache_1.3.26
./configure
cd ../php-4.2.3
./configure --with-mysql=/usr --with-apache=../apache_1.3.26
--enable-track-vars --with-gd=../gd-1.8.4
make install
cd ../mod_perl-1.27
perl Makefile.PL USE_APACI=1 EVERYTHING=1
APACHE_SRC=../apache_1.3.26/src DO_HTTPD=1 SSL_BASE=../openssl-0.9.6g
EAPI_MM=../mm-1.2.1 APACHE_PREFIX=/home/www
APACI_ARGS='--enable-module=ssl,--enable-module=rewrite,--activate-module=src/modules/php4/libphp4.a'
make
make test
make install
I have used this recipie to install apache+mod_ssl+php+mod_perl on
several servers with out much difficulty.
Everything goes smoothly on this installation until I get to the final
"make test" in the mod_perl directory. However, I run into a problem
when the script starts the test server. The message that I get is:
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.26/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LL = (),
ALL=e 40 are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LL = (),
ALL=e 40 are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't open perl script "/dev/null": Invalid argument
parse: Invalid argument
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST
line 95.
make: *** [run_tests] Error 111
There is no t/logs/error_log file for me to examine (or any log files
at all) so I can't tell you what is the cause of the test server
failing.
The following is the result of my "locale" setting command.
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL="en_US"
The LC_* settings appear to be all set but I don't see the "LL" or
"ALL" settings that "make test" is complaining about.
I have also read the "perldoc perllocale" pages and believe that I
have everything set up correctly. If anyone can point me in right
direction I would appreciated it.
Thank you very much.
------------------------------
Date: 23 Oct 2002 10:19:00 -0700
From: rnoory@videotron.ca (R.Noory)
Subject: negation
Message-Id: <8fec9af1.0210230919.2187e048@posting.google.com>
Hello,
My imput is
stupefy
qualify
classify
affy
I want to create two clusters out of my input
stupe(fy)
af(fy)
qual(ify)
class(ify)
Ify$ change to (ify)
non ify$ change (fy)
What is the best way to create two non-overlapping clusters with RE.
Thanks
------------------------------
Date: Wed, 23 Oct 2002 17:55:47 GMT
From: "john bennett" <johngnub@worldnet.att.net>
Subject: Re: Passing array in the middle of the parrameter list
Message-Id: <DoBt9.19933$Mb3.746485@bgtnsc04-news.ops.worldnet.att.net>
If you do use the reference I might suggest checking the parm that was pass
down,
This is a example that I often use:
# Code ref sub, that is what $run is #
$run =
sub {
my $array = shift (@_);
if (ref($array) ne "ARRAY"){
return "Passed Parm Was Not An ARRAY, It Was $array"
}
# End code ref and exmaple #
John W. Krahn <krahnj@acm.org> wrote in message
news:3DB65D8A.F31C06B7@acm.org...
> Glodalec wrote:
> >
> > Is there any way to pass an array as a parametter in the middle of the
> > parameter list ?
> >
> > @A=qw(a b c);
> > DoIt("This","is","ok",@A) ;
> >
> > sub DoIt
> > {
> > my ($FIRST,$SECOND,$THIRD,@A)=@_ ;
> > }
> >
> > Can I do this way ?
> > DoIt("Array",@A, "is","the second") ;
>
> No.
>
> > Probably the only solution is to pass it as a reference (\@A)
>
> Yes.
>
>
> John
> --
> use Perl;
> program
> fulfillment
------------------------------
Date: 23 Oct 2002 09:27:21 -0700
From: phillip.montgomery@motorola.com (Phillip Montgomery)
Subject: Perl 5.8 installation on Solaris 8 "DynaLoader.a" error.
Message-Id: <c665d93d.0210230827.234a9d19@posting.google.com>
Does anyone have some advice for a novice????
I am trying to configure Perl 5.8 on my Solaris 8 system and keep
getting a "gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or
directory" error message.
I used the following configure options:
sh Configure -Dprefix=/apps/public/perl_5.8.0 -Dusethreads
-DDEBUGGING -de
I then ran
make
and got this print out - rather long but I wanted to include
everything. It seems that my Dynamic loader is failing to find or
create the DynaLoader.a file.
==========================================================
`sh cflags "optimize='-O'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perl.o` perl.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" gv.o` gv.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" toke.o` toke.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perly.o` perly.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" op.o` op.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" regcomp.o` regcomp.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" dump.o` dump.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" util.o` util.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" mg.o` mg.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" reentr.o` reentr.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" hv.o` hv.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" av.o` av.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" run.o` run.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_hot.o` pp_hot.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" sv.o` sv.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp.o` pp.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" scope.o` scope.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_ctl.o` pp_ctl.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_sys.o` pp_sys.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
pp_sys.c: In function `Perl_pp_readdir':
pp_sys.c:3799: warning: implicit declaration of function `readdir_r'
pp_sys.c: In function `Perl_pp_gmtime':
pp_sys.c:4436: warning: implicit declaration of function `localtime_r'
pp_sys.c:4438: warning: implicit declaration of function `gmtime_r'
pp_sys.c: In function `Perl_pp_getlogin':
pp_sys.c:5515: warning: implicit declaration of function `getlogin_r'
`sh cflags "optimize='-O'" doop.o` doop.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" doio.o` doio.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" regexec.o` regexec.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" utf8.o` utf8.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" taint.o` taint.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" deb.o` deb.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" universal.o` universal.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" xsutils.o` xsutils.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" globals.o` globals.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perlio.o` perlio.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" perlapi.o` perlapi.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" numeric.o` numeric.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" locale.o` locale.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_pack.o` pp_pack.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
`sh cflags "optimize='-O'" pp_sort.o` pp_sort.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
rm -f libperl.a
/usr/ccs/bin/ar rcu libperl.a perl.o gv.o toke.o perly.o op.o
regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o
pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o
deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o
locale.o pp_pack.o pp_sort.o
rm -f opmini.c
cp op.c opmini.c
`sh cflags "optimize='-O'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
rm -f opmini.c
gcc -o miniperl \
miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lrt
-lpthread -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
sh mv-if-diff configpm.tmp lib/Config.pm
File lib/Config.pm not changed.
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*/*.pm
make lib/re.pm
make[1]: Entering directory
`/project/az10_ec/tools_team/gnu_source/perl/perl-5.8.0'
cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm
make[1]: Leaving directory
`/project/az10_ec/tools_team/gnu_source/perl/perl-5.8.0'
./miniperl minimod.pl > minimod.tmp
sh mv-if-diff minimod.tmp lib/ExtUtils/Miniperl.pm
File lib/ExtUtils/Miniperl.pm not changed.
touch lib/ExtUtils/Miniperl.pm
sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp
sh mv-if-diff writemain.tmp perlmain.c
`sh cflags "optimize='-O'" perlmain.o` perlmain.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -Wall
Making DynaLoader (static)
Writing Makefile for DynaLoader
make[1]: Entering directory
`/project/az10_ec/tools_team/gnu_source/perl/perl-5.8.0/ext/DynaLoader'
make[1]: Leaving directory
`/project/az10_ec/tools_team/gnu_source/perl/perl-5.8.0/ext/DynaLoader'
make[1]: Entering directory
`/project/az10_ec/tools_team/gnu_source/perl/perl-5.8.0/ext/DynaLoader'
../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
DynaLoader_pm.PL DynaLoader.pm
../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
XSLoader_pm.PL XSLoader.pm
Skip ../../lib/XSLoader.pm (unchanged)
Skip ../../lib/DynaLoader.pm (unchanged)
make[1]: Leaving directory
`/project/az10_ec/tools_team/gnu_source/perl/perl-5.8.0/ext/DynaLoader'
gcc -o perl perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.a
`cat ext.libs` -lsocket -lnsl -ldl -lm -lrt -lpthread -lc
gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or directory
make: *** [perl] Error 1
------------------------------
Date: 23 Oct 2002 14:13:55 GMT
From: tuglyraisin@aol.commune (Andrew Burton)
Subject: Perl bloggers?
Message-Id: <20021023101355.22841.00005317@mb-md.aol.com>
I'm not sure if this belongs here, but it's about a miscellaneous as I can
imagine. Lately I've been reading "Joel on Software", Ray Ozzie's weblog and
other programmers blogs/web logs/journals, and I've noticed that many of them
-- most of the ones *I* have found -- are Windows, C/C++, Visual Basic, .NET
programmers. I was curious if anyone knew of a circle of or a single "Perl
blogger" -- someone in the Perl community who blogs about Perl and other
technical subjects? Personally, I enjoy reading programmers journals and
seeing how and what they think of projects, technologes and languages; I was
hoping maybe there was a Perl-type bloggers out there so I could see/read
how/what a Perl programmer thought of the topics. Thanks!
Andrew Burton -- tuglyraisin at aol dot com
Felecia Station on Harvestgain
"well, it's software, it can do anything :-)" - Ankh
"A racist alien robot, now that's cutting-edge children's programming, screw
the AIDS puppets." - Derik Smith
------------------------------
Date: Wed, 23 Oct 2002 10:56:44 -0500
From: brian d foy <comdog@panix.com>
Subject: Re: Perl bloggers?
Message-Id: <231020021056444296%comdog@panix.com>
In article <20021023101355.22841.00005317@mb-md.aol.com>, Andrew Burton <tuglyraisin@aol.commune> wrote:
> I'm not sure if this belongs here, but it's about a miscellaneous as I can
> imagine. Lately I've been reading "Joel on Software", Ray Ozzie's weblog and
> other programmers blogs/web logs/journals, and I've noticed that many of them
> -- most of the ones *I* have found -- are Windows, C/C++, Visual Basic, .NET
> programmers. I was curious if anyone knew of a circle of or a single "Perl
> blogger" -- someone in the Perl community who blogs about Perl and other
> technical subjects?
http://use.perl.org has thousands of such people.
searching for "perl bloggers" with Google turns up the right names pretty
quickly too. :)
--
brian d foy <comdog@panix.com> - Perl services for hire
The Perl Review - a new magazine devoted to Perl
<http://www.theperlreview.com>
------------------------------
Date: Wed, 23 Oct 2002 19:02:36 +0200
From: "Chris" <christian.le-corre@esf.ericsson.se>
Subject: Perl compilation
Message-Id: <ap6k9b$iud$1@newstoo.ericsson.se>
Hi all,
Running under Solaris 8
I'm newbie to Perl.
I tried to compile a simple program named chris.pl by using this command :
# cd /opt/redhat/stronghold/perl/bin
# ./perlcc chris.pl
I get the error :
Can't locate Config.pm in @INC (@INC contains:
/export/home/build/sh3_bc3015/per
l/perlroot/lib /export/home/build/sh3_bc3015/perl/perlroot/lib
/export/home/buil
d/sh3_bc3015/perl/perlroot/lib/site
/export/home/build/sh3_bc3015/perl/perlroot/
lib/site .) at ./perlcc line 5.
BEGIN failed--compilation aborted at ./perlcc line 5.
What's the problem ??
Thanks,
Chris.
------------------------------
Date: Wed, 23 Oct 2002 14:15:24 +0100
From: "Richard S Beckett" <spikey-wan@bigfoot.com>
Subject: PPM and CPAN?
Message-Id: <ap67ek$1sv$1@newshost.mot.com>
Guys,
I'm using active state perl on win32.
I can't get PPM3 to work, but PPM is working and has successfully installed
modules for me.
I want to install Net::FTP, but this is not on the active state site. It is
on CPAN, though.
I have found the "set repository" command, but I have no idea what URL to
give it for CPAN.
Would someone tell me please? I have looked in the FAQs but it doesn't say,
and http://www.cpan.org/ didn't work.
Thanks.
R.
------------------------------
Date: Wed, 23 Oct 2002 14:15:52 GMT
From: helgi@decode.is (Helgi Briem)
Subject: Re: PPM and CPAN?
Message-Id: <3db6ad75.644229903@news.cis.dfn.de>
On Wed, 23 Oct 2002 14:15:24 +0100, "Richard S Beckett"
<spikey-wan@bigfoot.com> wrote:
>I'm using active state perl on win32.
Good for you.
>I can't get PPM3 to work, but PPM is working and has successfully
> installed modules for me.
>
>I want to install Net::FTP, but this is not on the active state site.
Yes it is. It's part of a bundle named libnet. Anyway,
it comes with Activestate Perl as standard, like most
other common modules do. You don't have to install
anything.
--
Regards, Helgi Briem
helgi AT decode DOT is
A: Top posting
Q: What is the most irritating thing on Usenet?
- "Gordon" on apihna
------------------------------
Date: Wed, 23 Oct 2002 14:27:36 -0000
From: "David K. Wall" <usenet@dwall.fastmail.fm>
Subject: Re: PPM and CPAN?
Message-Id: <Xns92B06A679C1E1dkwwashere@216.168.3.30>
Richard S Beckett <spikey-wan@bigfoot.com> wrote on 23 Oct 2002:
> I'm using active state perl on win32.
>
> I can't get PPM3 to work, but PPM is working and has successfully installed
> modules for me.
>
> I want to install Net::FTP, but this is not on the active state site. It is
> on CPAN, though.
>
> I have found the "set repository" command, but I have no idea what URL to
> give it for CPAN.
There are several package repositories listed in the HTML documentation that
comes with Activestate Perl. Net::FTP, however, is part of the libnet bundle,
which _is_ available from Activestate's PPM repository. (I just now updated my
copy from there, since I was checking its availablity.) Try 'install libnet'
or 'verify --upgrade libnet'.
--
David K. Wall - usenet@dwall.fastmail.fm
"Oook."
------------------------------
Date: 23 Oct 2002 15:34:39 GMT
From: ctcgag@hotmail.com
Subject: Re: Question about hash entries with two keys
Message-Id: <20021023113439.892$nL@newsreader.com>
Uri Guttman <uri@stemsystems.com> wrote:
>
> please use real perl data structures. i doubt anyone will actually help
> you with your perceived goals as they are very misguided. the fake
> multi-dim array stuff is not useful at all.
Ah, but several people have helped him, by refering him to $;.
I have found several uses for fake-multi-dim hashes. Chief among them
is preventing the overhead of a huge number of small hashes from using
all the physical memory, starting into virtual memory, and thrashing
the server to death. True, they are more prone to insidious bugs, but
killing your server is also rather insidious.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service
------------------------------
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 4015
***************************************