Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Tact and the Monasteryby helgi (Hermit) |
on Sep 17, 2002 at 11:46 UTC ( [id://198460]=note: print w/replies, xml ) | Need Help?? |
I'm with you on this one kschwab. I certainly try not to use too many temporary, intermediate variables, but I do if they add to readability for a future maintainer of the code.
My basic criteria for using a temporary variable is this: For example, in your case, @chars and $salt are both meaningfully named, thus allowed. What I would not allow would be @array and $foo for the same variables.
Regards,
In Section
Meditations
|
|