develooper Front page | perl.beginners | Postings from February 2002

[Q] Convert tcl list

From:
Bhanu Prakash
Date:
February 21, 2002 21:38
Subject:
[Q] Convert tcl list
Message ID:
20020222053800.19240.qmail@web11808.mail.yahoo.com
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 help
me accomplish this? 
  I know I can do this using regular expressions.! But
, I'm bad at regexps!!
Thanks for the help
Bhanu.

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About