You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@sergeant.org on 2006/08/16 20:35:15 UTC

[SVN] [95] Have to move "use" back up here otherwise AddXSPTaglib doesn't work.

Revision: 95
Author:   matt
Date:     2006-08-16 18:34:56 +0000 (Wed, 16 Aug 2006)

Log Message:
-----------
Have to move "use" back up here otherwise AddXSPTaglib doesn't work. Hmm.

Modified Paths:
--------------
    trunk/lib/AxKit2/Processor.pm
    trunk/lib/AxKit2.pm

Modified: trunk/lib/AxKit2/Processor.pm
===================================================================
--- trunk/lib/AxKit2/Processor.pm	2006-08-16 18:03:27 UTC (rev 94)
+++ trunk/lib/AxKit2/Processor.pm	2006-08-16 18:34:56 UTC (rev 95)
@@ -9,6 +9,7 @@
 our @EXPORT = qw(XSP XSLT TAL XPathScript);
 
 use XML::LibXML;
+use AxKit2::Transformer::XSP;
 
 our $parser = XML::LibXML->new();
 
@@ -114,8 +115,6 @@
 
 sub XSP {
     die "XSP takes no arguments" if @_;
-    require AxKit2::Transformer::XSP;
-    
     return AxKit2::Transformer::XSP->new();
 }
 

Modified: trunk/lib/AxKit2.pm
===================================================================
--- trunk/lib/AxKit2.pm	2006-08-16 18:03:27 UTC (rev 94)
+++ trunk/lib/AxKit2.pm	2006-08-16 18:34:56 UTC (rev 95)
@@ -25,6 +25,8 @@
         AxKit2::Server->create($server);
     }
     
+    # print $_, "\n" for sort keys %INC;
+    
     Danga::Socket->EventLoop();
 }