Re: Tieing $q to $r

2000-01-04 Thread Cliff Rayman
I don't think that the my($r) is going to work out too well here. I don't use apache registry but I don't think you want to freeze the Apache->request and CGI::Apache objects to what they are when the program is compiled. These usually need to be modified by apache for each request. check out: h

Re: Tieing $q to $r

2000-01-04 Thread Bill Desjardins
Arthur, You need to use $r->pnotes() to do this. $r->pnotes() is used to pass data structures around between modules. There is a entry in the manual about it so check there first. Bill -- Bill Desjardins - [EMAIL PROTECTED] - (USA) 305.205.8644 Unix/Network Administration - Perl/Mod_Perl/DB D

Tieing $q to $r

2000-01-04 Thread Arthur M. Kang
Trying to tie $q to $r so I can just pass around a single variable to subs. Not working too well... Getting frustrated... Getting ready to punch computer... :) using Registry: my($r) = Apache->request; my($q) = new CGI::Apache; $r->notes('q',$q); &test($r); sub test { my($r) = shift; m