There's more than one way to do things | |
PerlMonks |
Re^2: Perl::Critic policy for common Log::Log4perl mistakeby saberworks (Curate) |
on Nov 08, 2011 at 18:43 UTC ( [id://936848]=note: print w/replies, xml ) | Need Help?? |
No because the string will be interpolated on the way in, so you won't avoid the hit. The only way to avoid the hit is to ensure the string never gets interpolated in the first place (it's not the log call that's slow, it's the string interpolation of a huge array).
In Section
Seekers of Perl Wisdom
|
|