Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Getting values for next array iteration when matching current

by naturalsciences (Beadle)
on Mar 20, 2011 at 08:58 UTC ( #894312=note: print w/ replies, xml ) Need Help??


in reply to Re: Getting values for next array iteration when matching current
in thread Getting values for next array iteration when matching current

DAMN now im blinded by light!!! Thank you very much - guess it was too obvious solution.

edit : after euphoria :D On the other hand with the foreach loop gone the code will not check the pattern $in from the filehandle and match it with every individual line in array @ref. It will start checking if the first element in array @ matches the pattern of the first line from filehandle second from second etc. Which doesn't work for me - maybe if I'll load the filehandle <IN> into an array and to a foreach from there.


Comment on Re^2: Getting values for next array iteration when matching current

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://894312]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2015-07-31 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls