Tclperl 3.1
|
|||||||||||||||||||
Tclperl project allows the execution of Perl code from within a TCL interpreter using one or several embedded Perl interpreters.
This package allows the execution of Perl code from a Tcl interpreter, as in:
package require tclperl
set interpreter [perl::interp new]
$interpreter eval {print "Hello Worldn"}
perl::interp delete $interpreter
You can actually create several Perl interpreters this way, if the tclperl package was linked against a Perl library compiled with -DMULTIPLICITY, otherwise only 1 Perl interpreter can exist at a time.
Starting with version 3.1, you can also access and use the parent Tcl interpreter from a Perl interpreter (and even from Perl threads):
package require tclperl
set interpreter [perl::interp new]
puts [$interpreter eval {
$Tcl::parent->eval('clock format [clock seconds]');
}]
perl::interp delete $interpreter
This package works on UNIX machines (Redhat Linux rpms available at
http://jfontain.free.fr/) and Windows (thanks to David Gravereaux, DLL also available).
tags
Download Tclperl 3.1
Authors software
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
