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 st...@apache.org on 2002/07/01 06:54:09 UTC

cvs commit: modperl-2.0/lib/Apache compat.pm

stas        2002/06/30 21:54:09

  Modified:    lib/Apache compat.pm
  Log:
  make sure that the call is made as Apache->module($name) (2 arguments)
  and not Apache::module($name)
  
  Revision  Changes    Path
  1.62      +1 -0      modperl-2.0/lib/Apache/compat.pm
  
  Index: compat.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- compat.pm	4 Jun 2002 12:40:53 -0000	1.61
  +++ compat.pm	1 Jul 2002 04:54:09 -0000	1.62
  @@ -92,6 +92,7 @@
   
   sub module {
       require Apache::Module;
  +    die 'Usage: Apache->module($name)' if @_ != 2;
       return Apache::Module::loaded($_[1]);
   }