FW: Install Apache, mod_perl

2006-04-05 Thread Marek Stepanek
-- Weitergeleitete Nachricht Von: Marek Stepanek <[EMAIL PROTECTED]> Datum: Wed, 05 Apr 2006 23:58:23 +0200 An: Andrew Brosnan <[EMAIL PROTECTED]> Unterhaltung: Install Apache, mod_perl Betreff: Re: Install Apache, mod_perl On 05.04.2006 23:20, "Andrew Brosnan" <[EMAIL PROTECTED]> wrote: > O

Re: When does a hash of lists get defined?

2006-04-05 Thread Stewart Leicester
'defined' will autovivify, 'exists' will not. No, Bruce is right. When used with nested structures, both defined() and exists() will create the hash element "D", and store a reference to an anonymous array in it. But don't take my word for it - just ask Perl. Here's a simple test: Oops,

Re: When does a hash of lists get defined?

2006-04-05 Thread Joel Rees
'defined' will autovivify, 'exists' will not. I'll leave it up to Doug to decide if knowing that helps. The Camel book, page 710 in the third edition is very clear that exists goes the same way as defined. But perl has gone through a couple of new versions since it was written. Thanks to Ste

Re: Install Apache, mod_perl

2006-04-05 Thread Andrew Brosnan
On 4/5/06 at 11:14 PM, [EMAIL PROTECTED] (Marek Stepanek) wrote: > % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs > > [warning] mod_perl dso library will be built as mod_perl.so > [warning] You'll need to add the following to httpd.conf: > [warning] > [warning] LoadModule perl_mo

Install Apache, mod_perl

2006-04-05 Thread Marek Stepanek
Hello all, this is my first posting here and I am not such a pro as you all around here ... I want to install a local mysql-server and I am new to mysql. I installed everything as asked in my first mysql-book (MySQL & Perl, Developer's Guide, Paul DuBois). Only over mod_perl and Bundle::DB

Re: When does a hash of lists get defined?

2006-04-05 Thread Doug McNutt
At 08:41 -0700 4/5/06, Stewart Leicester wrote: > >'defined' will autovivify, 'exists' will not. I'll leave it up to Doug to >decide if knowing that helps. The Camel book, page 710 in the third edition is very clear that exists goes the same way as defined. But perl has gone through a couple of

Re: When does a hash of lists get defined?

2006-04-05 Thread Sherm Pendley
On Apr 5, 2006, at 11:41 AM, Stewart Leicester wrote: Actually, those mean different things. Neither autovivifies, which was what Doug was seeking to understand. Both defined $phash{"D"}[3] and exists $phash{"D"}[3] autovivify $phash{"D"}. - Bruce 'defined' will autovivify, 'exist

Re: When does a hash of lists get defined?

2006-04-05 Thread Bruce Van Allen
On 4/5/06 Stewart Leicester wrote: >Bruce Van Allen wrote: >>Both >> defined $phash{"D"}[3] >>and >> exists $phash{"D"}[3] >> >>autovivify $phash{"D"}. >> >>- Bruce > >'defined' will autovivify, 'exists' will not. I'll leave it up to >Doug to decide if knowing that helps. Oh? Try this: #

Re: When does a hash of lists get defined?

2006-04-05 Thread Stewart Leicester
Actually, those mean different things. Neither autovivifies, which was what Doug was seeking to understand. Both defined $phash{"D"}[3] and exists $phash{"D"}[3] autovivify $phash{"D"}. - Bruce 'defined' will autovivify, 'exists' will not. I'll leave it up to Doug to decide if knowin