Perl: the Markov chain saw | |
PerlMonks |
Re^4: Performance Trap - Opening/Closing Files Inside a Loopby diotalevi (Canon) |
on Dec 10, 2004 at 16:42 UTC ( [id://413902]=note: print w/replies, xml ) | Need Help?? |
You're thinking of my() on statements using modifiers. The problem is avoiding only calling my() sometimes. Then the variable may retain is previous value from earlier loops in a way that is declared off-limits and buggy but never fixed because it would be too much overhead to make it consistent. Ok
Not ok
In Section
Seekers of Perl Wisdom
|
|