[Israel.pm] mod_perl 2 newnie question

Mikhael Goikhman migo at homemail.com
Fri Jan 9 06:50:55 PST 2004


On 09 Jan 2004 14:38:17 +0200, semuel wrote:
> 
> Here is a code from the mod_perl documentation. 
> 
> The question is: what is $r? I've seen it being used as if it's all the
> objects.
> 
> In the example below, is $r Apache::RequestRec or Apache::RequestIO?

If your posted code works, then why not just print the type of the
received object?

	$r->print(ref($r), "\n");

Regards,
Mikhael.

-- 
perl -e 'print+chr(64+hex)for+split//,d9b815c07f9b8d1e'



More information about the Perl mailing list