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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mikespike21
    New Member
    • Oct 2006
    • 2

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

    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
  • saravanankm
    New Member
    • Jul 2006
    • 47

    #2
    hi

    the following sites are usefull Notes For perl Prog.

    http://www.ee.surrey.a c.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

    Comment

    • mikespike21
      New Member
      • Oct 2006
      • 2

      #3
      Originally posted by saravanankm
      hi

      the following sites are usefull Notes For perl Prog.

      http://www.ee.surrey.a c.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

      Comment

      Working...