xml-axkit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jw...@apache.org
Subject cvs commit: xml-axkit/demo/AxKit/XSP/Demo Object.pm
Date Mon, 25 Mar 2002 14:30:41 GMT
jwalt       02/03/25 06:30:41

  Modified:    demo/AxKit/XSP/Demo Object.pm
  Log:
  this patch is an educational example why copy'n'paste is bad
  
  Revision  Changes    Path
  1.2       +4 -4      xml-axkit/demo/AxKit/XSP/Demo/Object.pm
  
  Index: Object.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/demo/AxKit/XSP/Demo/Object.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Object.pm	25 Mar 2002 14:06:09 -0000	1.1
  +++ Object.pm	25 Mar 2002 14:30:41 -0000	1.2
  @@ -1,4 +1,4 @@
  -# $Id: Object.pm,v 1.1 2002/03/25 14:06:09 jwalt Exp $
  +# $Id: Object.pm,v 1.2 2002/03/25 14:30:41 jwalt Exp $
   package AxKit::XSP::Demo::Object;
   
   # Always use strict. Do it. I mean it. And turn on warnings as well.
  @@ -8,11 +8,11 @@
   use Apache::AxKit::Language::XSP::SimpleTaglib;
   
   # providing a version is good style, but not strictly neccessary
  -$AxKit::XSP::Demo::Simple::VERSION = 0.90;
  +$AxKit::XSP::Demo::Object::VERSION = 0.90;
   
   # The namespace associated with this taglib. If it doesn't work, double check
   # that you are using the exact same NS uri here and in the XSP.
  -$AxKit::XSP::Demo::Simple::NS = 'http://www.creITve.de/2002/XSP/Demo/Object';
  +$AxKit::XSP::Demo::Object::NS = 'http://www.creITve.de/2002/XSP/Demo/Object';
   
   # something to go at the top of the XSP script - this is NOT executed on every
   # request, but only once for each httpd process
  @@ -27,7 +27,7 @@
   
   # You need this dummy because the existence of a sub alone decides if a tag is
   # valid or not, even when the work is done in the opening tag. We tell
  -# SimpleTaglib that we
  +# SimpleTaglib that we use 2 attributes as input.
   sub new : attrib(name,timestamp) {
       return '';
   }
  
  
  

Mime
View raw message