[Israel.pm] Objects and classes
semuel at semuel.co.il
Sun Jan 11 13:05:46 PST 2004
In mod_perl_2, there is an Apache::RequestRec object, that basically holds
the request and the response, And have a really few methods.
And there are other classes, like Apache::RequestIO, that expand that
functionality. In this case, it add methods like "content_type" and "print",
that let you print out the response, using:
Where $r is of Apache::RequestRec.
The question is: have you seen other cases of classes that do something
It's like plating a method inside other object. Is this style is popular?
More information about the Perl