On Mon, Oct 22, 2001 at 11:55:51PM +0800, Stas Bekman wrote:
> Philippe M. Chiasson wrote:
> 
> > /home/gozer/sources/mod_perl2/deps/perl/bin/perl build/cvsdiff 
> > Index: docs/src/api/mod_perl-2.0/APR/Table.pod
> 
> 
> committed, thanks!
> 
> 
> > +remark: APR::Tables can hold more than one key-value pair sharing the same key,
> > +so when using a table thru the tied interface, the first entry found with the
> > +right key will be used, completely disreagarding possible other entries with the
> > +same key.  The only exception to this is if you iterate over the list with 
>'each'. 
> 
> and then...? you get all the values for the same key?

Yes, right now, the regular hash accessors will simply pick the first entry in
the table that matches the key you are interested in.  The only way to access
more than one key-value pair that share the same key is by using 

each %$table

> 
> _____________________________________________________________________
> Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
> http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
> 

-- 
Philippe M. Chiasson  <[EMAIL PROTECTED]>
  Extropia's Resident System Guru
     http://www.eXtropia.com/

New versions happen. 
        -- Larry Wall

perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl 
Hacker!\n$/&&print||$$++&&redo}'

PGP signature

Reply via email to