Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: How to loop over two lines, alter a value in the current line and save it to the previous line?

by rjc33 (Sexton)
on Jan 07, 2016 at 12:09 UTC ( [id://1152172]=note: print w/replies, xml ) Need Help??


in reply to Re^5: How to loop over two lines, alter a value in the current line and save it to the previous line?
in thread How to loop over two lines, alter a value in the current line and save it to the previous line?

Apologies, I should have said that it makes the values within @previous_columns always refer to those in the first line. So for example in the 2nd iteration of the loop @previous_columns holds values from the first line, when I want to hold values from the second line (while the loop is performing actions on the 3rd line).
  • Comment on Re^6: How to loop over two lines, alter a value in the current line and save it to the previous line?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found