stas 2003/12/10 13:09:36
Modified: Apache Apache.pm . Changes Log: The print-a-scalar-reference feature is now deprecated Revision Changes Path 1.75 +5 -0 modperl/Apache/Apache.pm Index: Apache.pm =================================================================== RCS file: /home/cvs/modperl/Apache/Apache.pm,v retrieving revision 1.74 retrieving revision 1.75 diff -u -u -r1.74 -r1.75 --- Apache.pm 20 Feb 2003 06:54:23 -0000 1.74 +++ Apache.pm 10 Dec 2003 21:09:36 -0000 1.75 @@ -1031,6 +1031,11 @@ you really want the reference to be printed out, force it into a scalar context by using C<print(scalar($foo))>. +The print-a-scalar-reference feature is now deprecated. There are +known bugs when using it and it's not supported by mod_perl 2.0. If +you have a scalar reference containing a string to be printed, +dereference it before sending it to print. + =item $r-E<gt>send_fd( $filehandle ) Send the contents of a file to the client. Can for instance be used 1.688 +3 -0 modperl/Changes Index: Changes =================================================================== RCS file: /home/cvs/modperl/Changes,v retrieving revision 1.687 retrieving revision 1.688 diff -u -u -r1.687 -r1.688 --- Changes 1 Dec 2003 17:30:33 -0000 1.687 +++ Changes 10 Dec 2003 21:09:36 -0000 1.688 @@ -10,6 +10,9 @@ =item 1.30_01-dev +The print-a-scalar-reference feature is now deprecated and documented +as such [Stas] + fix "PerlSetVar Foo 0" so that $r->dir_config('Foo') returns 0, not undef [Geoffrey Young]