develooper Front page | perl.php.sandwich.dev | Postings from October 2005

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

From:
theory
Date:
October 26, 2005 21:56
Subject:
[svn:PHP-Sandwich] r2169 - PHP-Sandwich/trunk/lib/PHP
Message ID:
20051027045617.9416.qmail@x1.develooper.com
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.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About