Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

activestate's Tcl.pm question
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





Report this thread to moderator Post Follow-up to this message
Old Post
~greg
03-04-08 03:08 AM


Re: activestate's Tcl.pm question
~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

Report this thread to moderator Post Follow-up to this message
Old Post
Janwillem Borleffs
04-01-08 01:01 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Modules archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:09 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.