in reply to Re^2: Can't get rid of: Useless use of private variable in void context
in thread Can't get rid of: Useless use of private variable in void context
sadly I still got to use perl 5.10 so local *HTEC... is not working
Sure it is, it worked since the very first perl5, at least
perl -MData::Dump -e" dd $f={2,{4,{6,8}}}; local *H=$$f{2}{4}; dd\%H" { 2 => { 4 => { 6 => 8 } } } { 6 => 8 }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Can't get rid of: Useless use of private variable in void context
by tobias_hofer (Friar) on Feb 25, 2013 at 11:28 UTC | |
by ww (Archbishop) on Feb 25, 2013 at 13:12 UTC |
In Section
Seekers of Perl Wisdom