|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^4: Performance Trap - Opening/Closing Files Inside a Loopby diotalevi (Canon) |
| on Dec 10, 2004 at 11:42 UTC ( [id://413902]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||