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 h