Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: keid
  • Content: Threads
  • Order by date
  1. keid

    arrays with 2 ENDs

    Hello I have to store 2 arrays out of the lines starting with part after the line of the CNTC 205 CNTC 205 PART 1 2 END PART 4 END in other words i need to make a set of parts @first_part of CNTC 205= 1 2 @second_part of...
  2. keid

    Printing elements of an array

    Hello I want to print the elements of a big array,in such a way each 10 elements on a line and each elements has a 10 digits space %10d. thanks alot in advance Kozhaya
  3. keid

    Search and Replace in an existing file

    I have 2 files file1sample ------------------------- NODE / 563 90. .0 .0 NODE / 564 80. .0 .0 NODE / 565 70. .0 .0 NODE / 566 60.0 .0...
  4. keid

    foreach and if loops

    If I have read a file as an array (probably not a good way for memory in case of big files). How can I move to the next line after matching a word in the if statement in this case? @data=<DATA>; foreach $elem (@data) { if ($elem= ~ m/^RBODY /) { exp; #storing info from $elem #how can i...
  5. keid

    Array manipulation

    I have a file containing something like that NOD 111:119 NOD 11 12 13 14 15 16 17 18 19 20 NOD 101:109 91:100 DELNOD 21:29 2 3 111:119 means nodes 111 112 ... 119 so I have to sort the (array or hash) of NODs then romove the array of DELNOD...
  6. keid

    string matching

    Hello, I have a file like that FUNCT_CURVE curve_id_num 5 abs coord 1 4 2 5 6 7 7 9 8 10 END Small explanation: I have a text file I want to read from it and store the values of the abscissa and coordinate in a hash or array... note next to the line FUNCT_CURVE the number stands for...

Part and Inventory Search

Back
Top