RE: Accessing TCL api via perl

2006-08-23 Thread Bobby Jafari
> I am using a test gear that uses a TCL api for automation. However, all > my test environment is in perl. Has anybody done any work in perl such > that they can call TCL API commands and capture both return codes and > other outputs. > > Every TCL API instruction that I u

Re: Accessing TCL api via perl

2006-08-23 Thread Ken Foskey
On Wed, 2006-08-23 at 16:03 +1000, Bobby Jafari wrote: > Hi All, > > I am using a test gear that uses a TCL api for automation. However, all > my test environment is in perl. Has anybody done any work in perl such > that they can call TCL API commands and capture both return co

Re: Accessing TCL api via perl

2006-08-23 Thread Mumia W.
On 08/23/2006 01:03 AM, Bobby Jafari wrote: [...] Every TCL API instruction that I use, would create a handle of some sort (i.e. a value that can be use to destinguish the call in a unique fashion). [...] I don't know what you mean by this. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Accessing TCL api via perl

2006-08-22 Thread Bobby Jafari
Hi All, I am using a test gear that uses a TCL api for automation. However, all my test environment is in perl. Has anybody done any work in perl such that they can call TCL API commands and capture both return codes and other outputs. Every TCL API instruction that I use, would create a handle

extend tcl to perl

2006-07-05 Thread hot flame
Hi, How to extend tcl to perl. Say for example I have some perl scripts and I want to call them from inside tcl scripts and have perl scripts return values to tcl. A very basic example will be of great help. thanks trm

Re: Need information for Tcl/tk

2006-05-20 Thread Lawrence Statton
> Hi, > I want to start Tcl/tk,Can anybody guide me good book or link for the > beginner. > I'd like to start learning oil painting. Perhaps I'd be better served asking in a forum dedicated to oil painting than a forum se

Re: Need information for Tcl/tk

2006-05-19 Thread David Romano
Hi Hridyesh, On 5/18/06, hridyesh pant <[EMAIL PROTECTED]> wrote: Hi, I want to start Tcl/tk,Can anybody guide me good book or link for the beginner. Googling "tk perl" came up with these: http://www.perl.com/pub/a/2001/03/gui.html http://www.perl.com/pub/a/1999/10/perltk

Need information for Tcl/tk

2006-05-18 Thread hridyesh pant
Hi, I want to start Tcl/tk,Can anybody guide me good book or link for the beginner. Thanks Hridyesh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Perl versus Expect(tcl) : Specific Example

2005-02-13 Thread perl perl
Excellent info coming in, so far. If its true that we have to use two versions of Perl Expect.PM (ActiveState) and Perl Expect.PM (Unix)... then wouldn't that pose double script maintenance issues? My Expect(tcl) script is simplified and centralized to one file. Its capable of switching

Re: Perl versus Expect(tcl) : Specific Example

2005-02-13 Thread Scott Pham
Perl Expect on Windows CON: Expect perl module can't be used on a Windows platform. Looks like your best bet is to use activestate TCL if it's on windows. On Sat, 12 Feb 2005 17:27:54 -0800, perl perl <[EMAIL PROTECTED]> wrote: > Hi, I'd like to narrow the previous Expe

Re: Perl versus Expect(tcl) : Specific Example

2005-02-12 Thread Owen Cook
} So the module is called Expect, see your local CPAN site for that. As far as I can see, it mimics the tcl expect. >From the documentation; Expect.pm is built to either spawn a process or take an existing fileh

Perl versus Expect(tcl) : Specific Example

2005-02-12 Thread perl perl
Hi, I'd like to narrow the previous Expect(tcl) question so that an answer can be extracted: Perl vs Expect(tcl) question again. Here is a specific Expect example: I have a release engineering build script that performs the following: Launch masterbuild.tcl (expect script) from WinNT s

Re: Re: Perl versus EXPECT(tcl)

2005-02-12 Thread geringer2
Hi Xiaofang: Because expect waits response from unix (or linux) - it 'EXPECTS' a response, it won't work on xp. Expect is more like a tcl script than perl and I don't think there's a tcl script either for xp (or dos) - I may be wrong. Hope this helps a little. Ro

RE: Re: Perl versus EXPECT(tcl)

2005-02-12 Thread Gomez, Juan
ry 11, 2005 11:00 AM To: Perl Beginners List Subject: Re: Re: Perl versus EXPECT(tcl) Hi, Bob, Sounds the expert.pm is cool. But when I try to install the pre-required io::pty, I got a fatal error. Is it possible to install io::tty and expert on xp? --- cl -c -nolog

Re: Re: Perl versus EXPECT(tcl)

2005-02-12 Thread Bob Showalter
Xiaofang Zhou wrote: Hi, Bob, Sounds the expert.pm is cool. But when I try to install the pre-required io::pty, I got a fatal error. Is it possible to install io::tty and expert on xp? No. ptys are a Unix only thing. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: Re: Re: Perl versus EXPECT(tcl)

2005-02-11 Thread Xiaofang Zhou
-02-11 21:42:00 您写道: >>Chris Devers wrote: >>> Several programming languages have mechanisms for building wrappers >>> around Expect, including Perl. In this case, you need a module like >>> Expect.pm or Expect::Simple, as described here: >> >>Pedant

Re: Perl versus EXPECT(tcl)

2005-02-11 Thread forknerr
Perl has modules you can include that allow you to use the power of perl and the functionality of Expect. - Original Message - From: A B C <[EMAIL PROTECTED]> Date: Friday, February 11, 2005 6:16 pm Subject: Perl versus EXPECT(tcl) > Greetings, > > I've heard

Re: Re: Perl versus EXPECT(tcl)

2005-02-11 Thread Xiaofang Zhou
ke >> Expect.pm or Expect::Simple, as described here: > >Pedantic point: Expect.pm is perhaps best thought of as an Expect "clone" or >"workalike". It does not use or require a tcl installation. > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >

Re: Perl versus EXPECT(tcl)

2005-02-11 Thread Bob Showalter
;workalike". It does not use or require a tcl installation. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Perl versus EXPECT(tcl)

2005-02-11 Thread Chris Devers
On Fri, 11 Feb 2005, A B C wrote: > I've heard that Expect(tcl) is outstanding in what it > specializes in. Can any experts in both Expect and > Perl Networking comment? > > I want to know if Perl's Networking arena is superior > or equal to what Expect specializ

Perl versus EXPECT(tcl)

2005-02-11 Thread A B C
Greetings, I've heard that Expect(tcl) is outstanding in what it specializes in. Can any experts in both Expect and Perl Networking comment? I want to know if Perl's Networking arena is superior or equal to what Expect specializes in.

Re: calling Tcl script with ato arguments

2005-01-17 Thread Randy W. Sims
t;patch_teleatlas_gdf.tcl is not working properly"; $counter ++; print "\{$gdf\}:PATCHED($counter of $gdf_number)"; } The problem that I'm receiving the die message "patch_teleatlas_gdf.tcl is not working properly" but then I manually assign arguments, Tcl

calling Tcl script with ato arguments

2005-01-17 Thread Vladimir Lemberg
as_gdf.tcl is not working properly"; $counter ++; print "\{$gdf\}:PATCHED($counter of $gdf_number)"; } The problem that I'm receiving the die message "patch_teleatlas_gdf.tcl is not working properly" but then I manually assign arguments, Tcl script works w

Re: TCL

2004-11-10 Thread Chris Devers
On Wed, 10 Nov 2004, Wim Bakker wrote: > On Monday 08 November 2004 23:43, Randy W. Sims wrote: > > Chris Devers wrote: > > > On Mon, 8 Nov 2004, Custard, Carol N. wrote: > > >>Does anyone know tcl? > > > > > > Yes. I'm sure someone does. >

Re: TCL

2004-11-10 Thread Wim Bakker
On Monday 08 November 2004 23:43, Randy W. Sims wrote: > Chris Devers wrote: > > On Mon, 8 Nov 2004, Custard, Carol N. wrote: > >>Does anyone know tcl? > > > > Yes. I'm sure someone does. > > What specifically are you wanting to know? And how is it rel

Re: TCL

2004-11-08 Thread Randy W. Sims
Chris Devers wrote: On Mon, 8 Nov 2004, Custard, Carol N. wrote: Does anyone know tcl? Yes. I'm sure someone does. What specifically are you wanting to know? And how is it related to Perl? ;-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TCL

2004-11-08 Thread Chris Devers
On Mon, 8 Nov 2004, Custard, Carol N. wrote: > Does anyone know tcl? Yes. I'm sure someone does. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

TCL

2004-11-08 Thread Custard, Carol N.
Does anyone know tcl? Carol Custard West Interactive Corporation Programmer Analyst Direct: 402-716-0720 Ext: 116-0720 Stop Code W100-WIC-3W [EMAIL PROTECTED] -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 11:56 AM To: 'Joseph

Re: Tcl/Tk training class

2004-10-09 Thread Randal L. Schwartz
>>>>> "William" == William Ampeh <[EMAIL PROTECTED]> writes: William> Can anyone recommend a Tcl/Tk training in DC/MD/VA? Why did you ask about *Tcl/Tk*, on a *Perl* list? Most people using Perl are using Perl/Tk, or Perl/Gtk, etc. -- Randal L. Schwartz - S

Re: Tcl/Tk training class

2004-10-07 Thread Chris Devers
On Thu, 7 Oct 2004 [EMAIL PROTECTED] wrote: Can anyone recommend a Tcl/Tk training in DC/MD/VA? Can anyone on a global list for Perl beginners suggest local information for Tcl/Tk training ? No, probably not. But good luck to ya ! -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Tcl/Tk training class

2004-10-07 Thread William . Ampeh
Hello, Can anyone recommend a Tcl/Tk training in DC/MD/VA? I am specifically looking for a course in intermediate to advance Tcl/Tk (including namespaces, packages, and GUI appearance). Thanks. __ William Ampeh (x3939) Federal Reserve Board -- To unsubscribe, e-mail

Re: [Fwd: Re: perl vs tcl?]

2003-01-14 Thread zentara
On Mon, 13 Jan 2003 11:15:11 -0600, [EMAIL PROTECTED] (Sean Rowe) wrote: >>I'm trying to argue my somewhat biased opinion that perl is better than >>tcl.Any experts out there >>that actually know why perl is/isn't better than tcl? I would say "modules&quo

Re: perl vs tcl?

2003-01-13 Thread Paul Johnson
On Mon, Jan 13, 2003 at 10:36:46AM -0600, Sean Rowe wrote: > I'm trying to argue my somewhat biased opinion that perl is better than > tcl. I want to embed perl in a c program we use because of it's speed > and object oriented nature. They want to use tcl because they don

Re: perl vs tcl?

2003-01-13 Thread Sean Rowe
ou might have to explain what you're trying to do. Are you trying to create a GUI for a program? Are you parsing text? etc, etc... -Original Message- From: Sean Rowe [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 8:37 AM To: [EMAIL PROTECTED] Subject: perl vs tcl? I

FW: perl vs tcl?

2003-01-13 Thread Timothy Johnson
-Original Message- From: Sean Rowe [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 9:15 AM To: Timothy Johnson Subject: Re: perl vs tcl? No gui programming. I think it's used more for logic than anything else. Not really for string manipulation. It's hard

[Fwd: Re: perl vs tcl?]

2003-01-13 Thread Sean Rowe
Original Message Subject: Re: perl vs tcl? Date: Mon, 13 Jan 2003 11:14:51 -0600 From: Sean Rowe <[EMAIL PROTECTED]> To: Timothy Johnson <[EMAIL PROTECTED]> References: <C0FD5BECE2F0C84EAA97D7300A500D50046DD3F0@SMILEY> No gui programming. I think it

RE: perl vs tcl?

2003-01-13 Thread Timothy Johnson
y 13, 2003 8:37 AM To: [EMAIL PROTECTED] Subject: perl vs tcl? I'm trying to argue my somewhat biased opinion that perl is better than tcl. I want to embed perl in a c program we use because of it's speed and object oriented nature. They want to use tcl because they don't know

perl vs tcl?

2003-01-13 Thread Sean Rowe
I'm trying to argue my somewhat biased opinion that perl is better than tcl. I want to embed perl in a c program we use because of it's speed and object oriented nature. They want to use tcl because they don't know perl and are comfortable with tcl. I'm not as familiar wi

send arguments to a tcl script

2002-03-22 Thread Roy Peters
I am writing a perl script. In it, I need to call another script that happen to be written in tcl. I need to pass arguments to that tcl script. Also, I need to get some return values from that tcl script. What is the best way for me to do that? Thanks

RE: [Q]Convert tcl list

2002-02-21 Thread Wagner-David
Bhanu Prakash [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 21:57 To: Wagner-David; [EMAIL PROTECTED] Subject: Re:[Q]Convert tcl list Hi Wags, Whoops! That seems to solve the purpose.! But, How do I read this data from a file into an array?! Thanks Bhanu. $_ = 'mykey

Re:[Q]Convert tcl list

2002-02-21 Thread Bhanu Prakash
$MyId = 1; foreach ( @MyData ) { printf "%3d: %s\n", $MyId++, $_; } Output: 1: abc xyz nnn mmm 2: aaa bbb ccc ddd Wags ;) -Original Message- From: Bhanu Prakash [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 21:38 To: [EMAIL PROTECTED] Subject: [Q] Convert tcl

RE: [Q] Convert tcl list

2002-02-21 Thread Wagner-David
yz nnn mmm 2: aaa bbb ccc ddd Wags ;) -Original Message- From: Bhanu Prakash [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 21:38 To: [EMAIL PROTECTED] Subject: [Q] Convert tcl list Hi All, I have a list tcl list dumped onto a data file which looks like myke

[Q] Convert tcl list

2002-02-21 Thread Bhanu Prakash
Hi All, I have a list tcl list dumped onto a data file which looks like mykey {{ abc xyz nnn mmm }} mykey2 {{ aaa bbb ccc ddd }},. I want to extract the information in the flower braces and put it into another data file. How easy / or difficult to implement this in perl? Can somebody

Re: TCl/Expect Question

2002-02-07 Thread William.Ampeh
This will do it: #!/usr/local/bin/expect -f #exp_internal 1 #<--- you could uncomment this to turn debug mod on set timeout 2 set prompt "(%|#|\\$) $";# default prompt log_user 1 catch {set prompt $env(EXPECT_PROMPT)} eval spaw

TCl/Expect Question

2002-02-07 Thread Pankaj Warade
Title: Glacier I am developing the text file browser for the file of size > 100MB. "less" Unix command is pager for doing the same . I am developing the GUI interface for the same.   I am using the Expect/ TCL/ TK to build the GUI for the unix command "less". In &