sub bar () { 'quux' } $foo{undef} = 'bareword undef is treated as string'; $foo{+undef} = 'function undef is treated as function because + is not valid in a bareword string'; $foo{bar} = 'key bar is used'; $foo{+bar} = 'key quux is used'; $foo{bar()} = 'key quux is used again (the old value is overwritten)';
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: Re: Re: Re: null keys
by Juerd
in thread null keys
by hakkr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |