[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason-cvs
Subject:    [Mason-checkins] [3745] Change the example code to actually work - from John Siracusa
From:       autarch () urth ! org
Date:       2006-04-27 16:59:44
Message-ID: E1FZ9qC-0004Sn-By () urth ! org
[Download RAW message or body]

Revision: 3745
Author:   autarch
Date:     2006-04-27 11:59:43 -0500 (Thu, 27 Apr 2006)
ViewCVS:  https://svn.urth.org/listing.php?repname=Mason&rev=3745

Log Message:
-----------
Change the example code to actually work - from John Siracusa

Modified Paths:
--------------
    trunk/lib/HTML/Mason/Resolver/Null.pm
Modified: trunk/lib/HTML/Mason/Resolver/Null.pm
===================================================================
--- trunk/lib/HTML/Mason/Resolver/Null.pm	2006-03-28 04:51:54 UTC (rev 3744)
+++ trunk/lib/HTML/Mason/Resolver/Null.pm	2006-04-27 16:59:43 UTC (rev 3745)
@@ -67,7 +67,8 @@
 EOF
 
   my $buffer;
-  my $output = $interp->make_request( out_method => \$var )->comp($comp);
+  my $request = $interp->make_request( out_method => \$buffer, comp -> $comp );
+  $request->exec;
 
   print $buffer;
 





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic