stas        2003/08/28 11:42:39

  Modified:    src/docs/2.0/user/porting porting.pod
  Log:
  Note that this requires at least Perl 5.6.0, the I<:method> attribute
  is not supported by older Perl versions, which will fail to compile
  such code.
  
  Revision  Changes    Path
  1.14      +4 -0      modperl-docs/src/docs/2.0/user/porting/porting.pod
  
  Index: porting.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/porting/porting.pod,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -u -r1.13 -r1.14
  --- porting.pod       28 Aug 2003 17:32:21 -0000      1.13
  +++ porting.pod       28 Aug 2003 18:42:39 -0000      1.14
  @@ -1319,6 +1319,10 @@
     sub handler_mp2 : method { ... }
     *handler = MP2 ? \&handler_mp2 : \&handler_mp1;
   
  +Note that this requires at least Perl 5.6.0, the I<:method> attribute
  +is not supported by older Perl versions, which will fail to compile
  +such code.
  +
   Here are two complete examples. The first example implements
   C<MyApache::Method> which has a single method that works for both
   mod_perl generations:
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to