Click here to get back home

How to call a TCL script from within a perl scrip/program

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to call a TCL script from within a perl scrip/program cyrusgreats 02-21-2008
Posted by cyrusgreats on February 21, 2008, 12:33 pm
Please log in for more thread options
I have a need to call a TCL script from within a perl scrip/program.
What is the best way to do this. Has anyone done this before. Can
anyone recommend a module for this.

Thanks in advance..

Posted by J. Gleixner on February 21, 2008, 12:52 pm
Please log in for more thread options
cyrusgreats@gmail.com wrote:
> I have a need to call a TCL script from within a perl scrip/program.
> What is the best way to do this. Has anyone done this before. Can
> anyone recommend a module for this.

No. No one has ever even thought of calling another script/program
from within a perl program, you're the first. :-)

You do it the same way you'd execute any other non-perl program.

perldoc -f system
perldoc -q "Why can't I get the output of a command with system"

Posted by Jürgen Exner on February 21, 2008, 5:43 pm
Please log in for more thread options
cyrusgreats@gmail.com wrote:
>I have a need to call a TCL script from within a perl scrip/program.
>What is the best way to do this. Has anyone done this before. Can
>anyone recommend a module for this.

perldoc -f system
perldoc -f qx
perldoc -f open (and check for mode | or |- or -|)
...

jue

Similar ThreadsPosted
How to generate radio buttons in Perl/CGI script with call to shell script? November 23, 2007, 11:24 pm
how do I call a function from a .so file in UNIX via a perl script? October 25, 2004, 1:17 pm
How to call a simple perl script from HTML without need of HTTPS but simple HTTP ? May 11, 2006, 4:37 am
call back to my own script January 20, 2008, 3:39 pm
Script continues running after an exit() call? June 15, 2005, 12:02 pm
DBI:Pg script returning 'can't call method' error August 2, 2008, 12:25 am
Regex help, need to find all "