bdimych has asked for the wisdom of the Perl Monks concerning the following question:
prints 3$A::bbb = 3; delete $A::{bbb}; print $A::bbb;
I did not expect this, I thought if glob deleted, then all values should be undef at the next access. Is it ok, where can I read about such behaviour?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: deleting glob does not undef values?
by dave_the_m (Monsignor) on Nov 22, 2007 at 15:15 UTC | |
|
Re: deleting glob does not undef values?
by shmem (Chancellor) on Nov 22, 2007 at 15:34 UTC | |
by ysth (Canon) on Nov 22, 2007 at 16:50 UTC | |
|
Re: deleting glob does not undef values?
by dk (Chaplain) on Nov 22, 2007 at 14:12 UTC | |
|
Re: deleting glob does not undef values?
by okram (Monk) on Nov 22, 2007 at 14:01 UTC | |
|
Re: deleting glob does not undef values?
by cdarke (Prior) on Nov 22, 2007 at 13:54 UTC |