in reply to Re: Re^2: Style Question: Throwaway Objects
in thread Style Question: Throwaway Objects

You do save all the duplicate lookup work in this case, if that's what you mean. Anyway, the Perl compiler is pretty simpleminded as far as optimization goes, so performance is hardly an argument for having a with construct at this point.

Makeshifts last the longest.

  • Comment on Re^4: Style Question: Throwaway Objects