I brought this up (hypothetically) in an earlier thread, and tilly provided a good working translation into real perl using a closure.
Have a look there for some ideas about closures.
Sorry if this is OT, didnt have time to read your post in detail
/me dons flame retardant suit
Yves / DeMerphq
--
When to use Prototypes?
In reply to Re: Sub in a Sub & Recursion
by demerphq
in thread Sub in a Sub & Recursion
by hakkr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |