You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by as...@hyperreal.org on 1998/08/12 00:03:53 UTC
cvs commit: modperl mod_perl_method_handlers.pod
ask 98/08/11 15:03:53
Modified: . mod_perl_method_handlers.pod
Log:
Remember to use literal quotes in the apache configuration so the object won't get interpolated.
Revision Changes Path
1.4 +4 -3 modperl/mod_perl_method_handlers.pod
Index: mod_perl_method_handlers.pod
===================================================================
RCS file: /home/cvs/modperl/mod_perl_method_handlers.pod,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mod_perl_method_handlers.pod 1998/07/12 16:11:28 1.3
+++ mod_perl_method_handlers.pod 1998/08/11 22:03:52 1.4
@@ -73,7 +73,7 @@
<Location /obj-handler>
SetHandler perl-script
- PerlHandler $My::Obj->method
+ PerlHandler '$My::Obj->method'
</Location>
In startup.pl or another PerlRequire'd file:
@@ -118,8 +118,9 @@
-elements => 'wday hour min',
);
-And then use $Client1::Datebar and $Client2::Datebar as PerlHandlers
-in my Apache configuration.
+And then use $Client1::Datebar and $Client2::Datebar as PerlHandlers in my
+Apache configuration. Remember to pass them in literal quotes ('') and not
+"" which will be interpolated!
I've a webinterface system to our content-database. I've created
objects to handle the administration of articles, banners, images and