> From: Rubinow, Larry [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 25, 2002 4:26 PM > To: Perl win32 > Subject: RE: Strange assignment > > > Carl Jolley wrote: > > > More to the point, assurance that the hash element is an array > > reference is required in order that the following push > > statement will work. > > Naw. The next line after the assignment, > > push(@{$hash{$symbol}}, $value); > > would cause $hash{ $symbol } to autovivify an array > reference, if its value > were previously undefined. See perlref. > _______________________________________________
Is perlref a website, or is it part of the documentation supplied with Perl? Where can find a description in it of autovivification? Is this described in the Camel book? _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users