in reply to Re^2: Refactoring Perl 4 - Replace Temp with Query
in thread Refactoring Perl #4 - Replace Temp with Query
Of course abstracting such things away is the right way to go; but you still often need temp variables. So this refactoring technique should probably be promoted as "do what common sense tells you", not as "remove temp vars".
Memoize is a good thing too, btw. Even better with Memoize::Attrs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Refactoring Perl 4 - Replace Temp with Query
by agianni (Hermit) on Jul 30, 2007 at 12:48 UTC |