in reply to A value that stays a value (for some time)
You may be looking for Tie::Scalar::Timeout. If you really do want a subroutine to be returning the value you could build a closure around the sub, and declare the tied variable into the broader-scope of the closure. It can be tied within the sub, as needed.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A value that stays a value (for some time)
by freakingwildchild (Scribe) on Jun 18, 2006 at 17:31 UTC | |
by CountZero (Bishop) on Jun 18, 2006 at 21:36 UTC | |
by davido (Cardinal) on Jun 19, 2006 at 05:30 UTC |