Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 studying the Monastery: (7)
As of 2014-08-29 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls