[svn:PHP-Sandwich] r2169 - PHP-Sandwich/trunk/lib/PHP

[email protected] 27 Oct 2005 04:56:17 -0000
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
Author: theory
Date: Wed Oct 26 21:56:16 2005
New Revision: 2169

Modified:
   PHP-Sandwich/trunk/lib/PHP/Interpreter.pm
Log:
Fixed broken getVariable example.


Modified: PHP-Sandwich/trunk/lib/PHP/Interpreter.pm
==============================================================================
--- PHP-Sandwich/trunk/lib/PHP/Interpreter.pm	(original)
+++ PHP-Sandwich/trunk/lib/PHP/Interpreter.pm	Wed Oct 26 21:56:16 2005
@@ -284,7 +284,7 @@ Access a Perl symbol by name.
 
   <?php
      $perl = Perl::getInstance();
-     $version = $perl->getVariable("$PHP::Interpreter::VERSION");
+     $version = $perl->getVariable('$PHP::Interpreter::VERSION');
   ?>
 
 This works only for package variables, not lexical (C<my>) variables.