[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: exists $foo[7] and delete $foo[7]
>The additions look OK to my eyes, except that I wonder what happened
>to the idea of a short-circuiting exists? Does exists necessarly
>need to auto-vivify all the intermediate steps? For example:
> $hash = {};
> warn exists $hash->{foo}{bar}; # false
> warn exists $hash->{foo}; # true or false?
undef $href;
warn "wow" if exists $href->{heehaha} || $href;
--tom
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]