>>I thought that by being declared inside [- -], the subroutine would be >>recompiled on every request, thus losing any reference to @fields. >> No, the reference is not lost, so what Angus wrote about closures was exactly right. You should simply pass in the @fields as parameter to your sub or don't declare it with my. Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- problem with subroutines caching values of variables Jonny Cavell
- Re: problem with subroutines caching values of varia... Angus Lees
- RE: problem with subroutines caching values of varia... Jonny Cavell
- RE: problem with subroutines caching values of v... Marcus R. Popetz
- Gerald Richter
