Re: [Incrtcl-users] calling perl scripts from tcl
by Michael Barth other posts by this author
Jul 5 2006 8:49AM messages near this date
[Incrtcl-users] calling perl scripts from tcl
|
Re: [Incrtcl-users] ::itcl::delete class leaks?
hot flame wrote:
> Please help me how I can call a perl script from tcl script. I have a
> tcl script that needs to call a perl script which should return a value.
> Help with a very basic example will be of great help.
Hello hot flame (or do you have a real name?),
you have nothing to learn about other scripts to use them in Tcl. Just
call them than any other system commands:
set result [exec myscript.perl $args]
or in an asyncron manner:
set id [open "|myscript.perl $args" r]
fconfigure $id ...
fileevent readable $id ...
...
append result [read id]
...
close $id
Regards
Michael
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Incrtcl-users mailing list
Incrtcl-users@[...].net
https://lists.sourceforge.net/lists/listinfo/incrtcl-users
Thread:
Hot Flame
Michael Barth
|