You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2002/12/01 04:53:25 UTC

[patch] lib/Apache/compat.pm (Apache::File)

Should we explicitly alias the Apache::File methods to their new 
locations? In case somebody was explicitly making a call via 
Apache::File->method($r, ...) class method?

Index: lib/Apache/compat.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v
retrieving revision 1.71
diff -u -r1.71 compat.pm
--- lib/Apache/compat.pm        23 Nov 2002 22:35:06 -0000      1.71
+++ lib/Apache/compat.pm        1 Dec 2002 03:51:49 -0000
@@ -414,15 +414,15 @@
  }

  # the following functions now live in Apache::Response
-# * discard_request_body
-# * meets_conditions
-# * set_content_length
-# * set_etag
-# * set_last_modified
-# * update_mtime
+*discard_request_body = \&Apache::Response::discard_request_body;
+*meets_conditions     = \&Apache::Response::meets_conditions;
+*set_content_length   = \&Apache::Response::set_content_length;
+*set_etag             = \&Apache::Response::set_etag;
+*set_last_modified    = \&Apache::Response::set_last_modified;
+*update_mtime         = \&Apache::Response::update_mtime;

  # the following functions now live in Apache::RequestRec
-# * mtime
+*mtime                = \&Apache::RequestRec::mtime;

  package Apache::Util;




__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org