Code Comments
Programming Forum and web based access to our favorite programming groups.this ...
use Tcl;
my $Interpreter = new Tcl;
$Interpreter->Eval('puts "Hello world"');
$Interpreter->Eval('puts $auto_path');
puts this ...
Hello world
can't read "auto_path": no such variable at ...\test.pl line 4.
I want to know what ::auto_path is because
I am trying to insure that Tcl.pm uses Tcl/tk
instead of tkkit.dll.
thanks, if you can help,
(or if you're in Texas|Ohio and vote for Barack)
~greg
Post Follow-up to this message~greg schreef:
> this ...
> use Tcl;
> my $Interpreter = new Tcl;
> $Interpreter->Eval('puts "Hello world"');
> $Interpreter->Eval('puts $auto_path');
>
> puts this ...
>
> Hello world
> can't read "auto_path": no such variable at ...\test.pl line 4.
>
I have never used this module, but it seems that the problem is related
to the use of single quotes; try instead:
$Interpreter->Eval("puts $auto_path");
JW
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.