Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: how to refer the index of an array to another array of the same length

by CountZero (Bishop)
on Aug 03, 2013 at 10:03 UTC ( #1047686=note: print w/replies, xml ) Need Help??


in reply to Re^2: how to refer the index of an array to another array of the same length
in thread how to refer the index of an array to another array of the same length

You are only looking for the key "LYPLA1", which happens to be the first element of @gl and therefore your result will show for every match of "LYPLA1", the first element of @csta, i.e. "4797974". You might wish to vary the search keys a bit to see something different.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^4: how to refer the index of an array to another array of the same length
by rocketperl (Sexton) on Aug 03, 2013 at 10:20 UTC
    Thanks a lot.. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047686]
help
Chatterbox?
[Discipulus]: I havent took thine book, search it thyself.. sound very good and cool! i definitevely use Shakespeare's english
Discipulus is lazily looking his automated migration in backgound and has lot of free tiime..

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-11-23 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (333 votes). Check out past polls.

    Notices?