xml-axkit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: xml-axkit/lib/Apache/AxKit/Language XSP.pm
Date Sun, 10 Mar 2002 16:12:12 GMT
matts       02/03/10 08:12:12

  Modified:    lib/Apache/AxKit/Language XSP.pm
  Log:
  Clean up makeSingleQuoted and make explicit
  
  Revision  Changes    Path
  1.7       +6 -2      xml-axkit/lib/Apache/AxKit/Language/XSP.pm
  
  Index: XSP.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Language/XSP.pm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XSP.pm	4 Mar 2002 23:32:10 -0000	1.6
  +++ XSP.pm	10 Mar 2002 16:12:12 -0000	1.7
  @@ -1,4 +1,4 @@
  -# $Id: XSP.pm,v 1.6 2002/03/04 23:32:10 jwalt Exp $
  +# $Id: XSP.pm,v 1.7 2002/03/10 16:12:12 matts Exp $
   
   package Apache::AxKit::Language::XSP;
   
  @@ -210,7 +210,11 @@
       return "Apache::AxKit::Language::XSP::ROOT$filename";
   }
   
  -sub makeSingleQuoted($) { $_ = shift; s/([\\|])/\\$1/g; 'q|'.$_.'|'; }
  +sub makeSingleQuoted($) {
  +    my $value = shift;
  +    $value =~ s/([\\|])/\\$1/g;
  +    return 'q|'.$_.'|';
  +}
   
   ############################################################
   # SAX Handler code
  
  
  

Mime
View raw message