Can't call method is_initial_req without a package or object reference at .........

2003-06-17 Thread Martin Moss
All, I'm having some problems with Apache giving me grief, or most probably me getting my knickers in a complete twist. I get the following error:- Can't call method is_initial_req without a package or object reference at . It seems to happen when my URL ends like this:- /somepath/16

Re: Can't call method is_initial_req without a package or object reference at .........

2003-06-17 Thread Martin Moss
Ok, that makes sense, thank you:-) But 'What' should I return, is $r-main the right thing to return? unless ($r-is_main ) { print STDERR Apache::Request is not Main, Getting Main\n; print STDERR Dumper($r); $r=$r-main; print STDERR Main Apache::Request is:-\n;

Re: Can't call method is_initial_req without a package or object reference at .........

2003-06-17 Thread Martin Moss
Thanks Geoffrey. Marty - Original Message - From: Geoffrey Young [EMAIL PROTECTED] To: Martin Moss [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:23 PM Subject: Re: Can't call method is_initial_req without a package or object reference at . Martin