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

change the format of file.

Thread Next
From:
Anand, Pankaj
Date:
January 30, 2002 12:18
Subject:
change the format of file.
Message ID:
87F879D35F05A148870CE44B32E5B419014294E1@cs07mail.bestbuy.com
Hi ,
I want to make a perl script which can take the input from a file which is
in this form -
name1	
name2	

I want to change it to this format -
definition1	name1
definition2	
definition3
definition4:name1

definition1	name2
definition2	
definition3
definition4:name1

and so on

Thanx


952)324-0422



Thread Next


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