Just another Perl shrine | |
PerlMonks |
Re: How does variable definition affect Perl performance ?by bv (Friar) |
on Dec 05, 2009 at 00:21 UTC ( [id://811179]=note: print w/replies, xml ) | Need Help?? |
First let me say I totally agree with ikegami above regarding profiling. Also, check out When perl is not quite fast enough, a really good article. But don't change the variable declarations blindly! Some code might depend on a non-undef, false value like 0 or ""
In Section
Seekers of Perl Wisdom
|
|