Hi Tim!
Tim> Dmitry, I do not understand what you mean by "$self-> {my_last_value}
Tim> = $self-> value"? The literal "my_last_value" does not exist. Do
Tim> you mean "my $s = $self->value;", then $s is persistent? I'm
Tim> confused!
No, the point is, that $s is _not_ presistent. In order to get a
persistent storage, I propose a standard way to do that, store whatever
value on the object itself.
Tim> So all of my lexical variable can conflict with others lexicals?
Tim> Doesn't make sense.
I wouldn't use lexicals for this purpose. Either on-object storage,
or a separate variable declared outside the handlers, in the main
code section.
-- Sincerely, Dmitry KarasikReceived on Thu 01 Jan 2009 - 12:06:12 CET
This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET