in reply to Re^2: Style Question: Throwaway Objects
in thread Style Question: Throwaway Objects
And a proper with construct allows the compiler opportunities to optimize far beyond what any other solution allows as it explicitly states that the object will be immutable for the duration of the with. *sigh*for ($some->{complex}[$object]{that}{we}[$need]{to}[$use]) { $_->foo; $_->bar; }
:-)
--- demerphq
my friends call me, usually because I'm late....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Style Question: Throwaway Objects
by Aristotle (Chancellor) on Dec 09, 2002 at 18:51 UTC |