Without autovivification,
$quick[0][3] $ref->{Oxford}{Ram}{Population} $hash{ram}{mohan}{perl}{linux}
would have to be written as follows:
( $quick[0] //= [] )->[3] ((( $ref //= {} )->{Oxford} //= {} )->{Ram} //= {} )->{Population} ((( $hash{ram} //= {} )->{mohan} //= {} )->{perl} //= {} )->{linux}
Which do you prefer?
In reply to Re: Autovivification in perl
by ikegami
in thread Autovivification in perl
by rammohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |