in reply to Re: Perl autovivifyies object property when using exists
in thread Perl autovivifyies object property when using exists
I'm at a loss. I get the same as you on the command line. But in my test, running this:
my $fs4 = {'_structure' => {}}; say (exists $fs4->{_structure}{'/Users/dotfiles/perl5/my_modules'}{BL +AH}{Crap}); d $fs4->{_structure}, 3;
I get this:
$VAR1 = { '/Users/dotfiles/perl5/my_modules' => { 'BLAH' => {} } };
$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
|
|---|