Connecting Tech Pros Worldwide Forums | Help | Site Map

I need a simple perl script, but I don't know how to create!

Newbie
 
Join Date: Oct 2006
Posts: 2
#1: Oct 24 '06
Hello,

I need a perl script that converts the content of a simple text document. Like the following:

Content before:
CC[N] -0.007
ZZ[N] 79.854
YY[N] -0.002
XX[N] -0.009


Content after:
X-0.009 Y-0.002 H79.854 C-0.007

I think this shouldn't be too complex, but I don't know how to write a perl script.
Can anybody help me with this?

Many thanks,
Mike

Member
 
Join Date: Jul 2006
Location: Coimbatore,India
Posts: 47
#2: Oct 24 '06

re: I need a simple perl script, but I don't know how to create!


hi

the following sites are usefull Notes For perl Prog.

http://www.ee.surrey.ac.uk/Teaching/Courses/Perllab/prep/index.html
http://www.peak.org/~regan/perl/
http://www.perl.com/pub/a/2000/10/begperl1.html

pls visit it may Help U!


With Regards,
Captain
Newbie
 
Join Date: Oct 2006
Posts: 2
#3: Oct 24 '06

re: I need a simple perl script, but I don't know how to create!


Quote:

Originally Posted by saravanankm

hi

the following sites are usefull Notes For perl Prog.

http://www.ee.surrey.ac.uk/Teaching/Courses/Perllab/prep/index.html
http://www.peak.org/~regan/perl/
http://www.perl.com/pub/a/2000/10/begperl1.html

pls visit it may Help U!


With Regards,
Captain

Thanks for these links. I will try to write it myself.

But I would apprechiate to get a program that does something similar.

Regards,
Mike
Reply