in reply to Perl autovivifyies object property when using exists
perl -MData::Dump -E 'no autovivification; my $fs4 = {_structure => {}}; exists $fs4->{_structure}{BLAH}{TEST}{Crap}; dd $fs4->{_structure};' {}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl autovivifyies object property when using exists
by Danny (Chaplain) on Apr 03, 2024 at 19:56 UTC | |
by LanX (Saint) on Apr 04, 2024 at 19:26 UTC | |
by Danny (Chaplain) on Apr 04, 2024 at 21:50 UTC |