it showing result fine.when we use this autovivification in perl.Please let us knowprint "autovivification in perl using Array:\n"; my @quick = (); $quick[0][3] = "perl"; print Dumper @quick; print "autovivification in perl using scalar"; my $ref; $ref->{Oxford}->['Ram']->{Population} = 500000; print Dumper $ref; print "autovivification in perl using hash"; my %hash = (); $hash{ram}->{mohan}->{perl}->{linux}= "Larry_Wall"; print Dumper %hash;
In reply to Autovivification in perl by rammohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |