[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[FWP] Autovivifying (was Re: HUMOR: you have to see this code!)



On Mon, Nov 08, 1999 at 09:37:45AM -0500, John Porter wrote:
> Matthew Bafford wrote:
> > 
> > 9) Creating an element in an array to find out if it exists:
> > 
> >         if(!$_[1]){
> 
> Nope.  Array elements don't autovivify like hashes.
> 

Hash elements don't autovivify like hashes either.

_References_ autovivify.  Regardless of the data structure.

Ronald


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe