in reply to Re: Perl autovivifyies object property when using exists
in thread Perl autovivifyies object property when using exists
This reproduces the problem:
perl -MData::Dump -E ' my $fs4 = {'_structure' => {}}; exists $fs4->{_ +structure}{BLAH}{TEST}{Crap}; dd $fs4->{_structure} '
Output: { BLAH => { TEST => {} } }
$PM = "Perl Monk's";
$MC = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar Parson";
$nysus = $PM . ' ' . $MC;
Click here if you love Perl Monks
|
---|