Variable value seems to change on it own (huh!)

2000-05-23 Thread Rob Tanner
Hello, I am seeing a wierd problem that sounds kind of like, but not exactly like the sharing of lexical variables between inner and outer subroutines as discussed on pages 161-162 of Apache Modules (the eagle book). I am writing a mirror proxy and re-writing links on any document of

Re: Variable value seems to change on it own (huh!)

2000-05-23 Thread Doug MacEachern
sub parse_response { sub process_tag { } } why do you nest this subroutine? the guide and other docs explain the "variable will not stay shared" problem that normally bites people under Apache::Registry. just move the process_tag subroutine declaration outside of parse_response: