ANNOUNCE: tclperl-3.1

J

Jean-Luc Fontaine

### CHANGES ###

--- version 3.1 ---
Perl interpreters can now evaluate Tcl code even from Perl threads
(requires at least a 5.6.0 Perl core)
added tclperl.h file for possible use in extensions to tclperl

### README ###

tclperl version 3.1: a Perl package for Tcl

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 World\n"}
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). See INSTALL file for more information.

This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

###

you may find it at the following locations:

http://jfontain.free.fr/tclperl-3.1.tar.bz2
http://jfontain.free.fr/tclperl-3.1-0.fdr.1.i386.rpm
http://jfontain.free.fr/tclperl-3.1-0.fdr.1.spec
http://jfontain.free.fr/tclperl.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,163
Latest member
Sasha15427
Top