[JOB] Perl Software Developer and Database programmer

Andy Armstrong andy at hexten.net
Wed Feb 22 12:47:05 GMT 2006


On 22 Feb 2006, at 12:36, Lusercop wrote:
> obviously.

That's what I assumed you meant.

> Why? because it's clear that you're saving the value and restoring  
> it. For
> those in the thread that didn't know that this was what local did,  
> that's
> what it does. If the scope is quite long (then you should be  
> splitting it
> into separate functions ...) then you are explicitly restoring the  
> value
> back. I prefer this, stylewise.

Would you prefer explicit memory management too? In what way is an  
explicit save / restore preferable to local (which is for these  
purposes syntactic sugar on the same thing)? Is local really so obscure?

-- 
Andy Armstrong, hexten.net



More information about the london.pm mailing list