local $self->{foo} = 'bar';i have been programming Perl for more than seven years now, but until today i didn't know that you can localize hash elements, if the hash itself is a lexical variable. nice =)
In reply to Re^2: local() magic with hash entry?
by tinita
in thread local() magic with hash entry?
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |