Nathan Torkington wrote: > > Don't forget that the rationale behind the infix dereferencing is > this: > > @variable_name > @{variable_name} > @$scalar_containing_variable_name @$scalar_containing_value_ref > @{ code evaluating to variable name } @{ code giving value ref } True. Would anyone mourn @$scalar_containing_variable_name if it died? I've never used it, and I'm rather glad I haven't. Perl5's -w doesn't notice $x="var"; print @$x either -- it'll complain if you mention @var once. Or leave it, but make ->@ always dereference an array ref. If you ask for explicit dereferencing with ->, you always get it. And you get a nice understandable warning otherwise, instead of the undefined value of a nonexistent variable. Damn, learn something new every day... perl really is incestuous with its symbol table, isn't it?
- Re: RFC 109 (v1) Less line noise - let'... Steve Fink
- Re: RFC 109 (v1) Less line noise -... Ted Ashton
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noi... Damien Neil
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noi... Ted Ashton
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noi... Casey R. Tweten
- Re: RFC 109 (v1) Less line noi... Casey R. Tweten
- Re: RFC 109 (v1) Less line noi... Nathan Torkington
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noi... Nathan Torkington
- Re: RFC 109 (v1) Less line noi... Steve Fink
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Piers Cawley
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Andy Wardley
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Karl Glazebrook
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Kai Henningsen
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Kai Henningsen
- Re: RFC 109 (v1) Less line noise - let's get rid of... Karl Glazebrook
- Re: RFC 109 (v1) Less line noise - let's get ri... Nathan Torkington