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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by AlexmMorozo

  1. AlexmMorozo

    How can I transform a file to the folowing kind!? Problem.

    ? Yes,you right! But what you thing about: ? $n = 0; %hash = map {$_, $n++} @mass; while (<FILE>){ s/(\w)/$hash{$1}/g; print OTHER_FILE $_; }
  2. AlexmMorozo

    How can I transform a file to the folowing kind!? Problem.

    Hi, i have a file <fileP>: y w y u y t y s y r x w x u x t x s x r w v w p v u v t v s v r u t u s u r u p t s t r t p s r s p r p q p And my Q.! How can i transform this file to <fileTrans>: 10 8 10 6 10 5 10 4 10 3 9 8 9 6 9 5 9 4 9 3 8 7 8 1 7 6 7 5 7 4 7 3 6 5 6 4 6 3 6 1 5 4 5...
  3. AlexmMorozo

    unique elements of an big array...?? Help(+)

    Big thank's,justice41 ! $cnt{$_}++ foreach map { /^(.)/ } @tmp, @T; In a result this variant is put as basic. While on several examples of problems has not arisen. All works correctly. All best for you! ...and than's for comments, best regards, Al.
  4. AlexmMorozo

    !justice41! Repetition &quot;?&quot; about unique elements...

    hi, i am sory for recurrence of the question, but while i can not create a code for the decision. The essence of a task is shown below on an example. INPUT: file <RES> ====== x s_inv u 1 1 0 99 x r t_inv 1 1 0 99...
  5. AlexmMorozo

    unique elements of an big array...?? Help(+)

    justice41's, ------------ i have admitted a mistake...my mistake!!! your code: ######################################################### @T=(); open (FH4,&quot;<RESULT_SORT&quot;); while (<FH4>) { my %cnt = (); my @tmp = /^(\S+)\s+(\S+)\s+(\S+)/; # Grab first...
  6. AlexmMorozo

    unique elements of an big array...?? Help(+)

    !justice41's, 1. HUGE thank! 2. All is correct! 3. the words at me are not present 4. large gratitude to you! 5. yours faithfully. PS: this question is closed AL.
  7. AlexmMorozo

    unique elements of an big array...?? Help(+)

    Big thank's justice41's! .... i check this one now.....Very nice ...part... thanks!!!!! See you later.
  8. AlexmMorozo

    unique elements of an big array...?? Help(+)

    .... Sorry, may be my explain so worse... Concept 'unique' for me it: first three elements do not repeat in the subsequent two (n) lines. For an example, we can use my &quot;dream&quot;/ideal output: ===================================================== x...
  9. AlexmMorozo

    unique elements of an big array...?? Help(+)

    Goog day, Excuse me! and large thank for the response!!!! By the reason to that my intolerable English... :) :( So, I have file (<RES>)of the following structure: INPUT: ====== x s_inv u 1 1 0 99 x r t_inv 1 1 0 99...
  10. AlexmMorozo

    unique elements of an big array...?? Help(+)

    Hi! I have some q.! See the example pls. file &quot;RES&quot;: @T=(); x u y_inv 1 1 0 14 ===> i need ==>@T=(&quot;x&quot;,&quot;u&quot;,&quot;y_inv&quot;); x s_inv t 1 1 0 14 v r_inv u 1 1 0 14==>...

Part and Inventory Search

Back
Top