in reply to Re^2: how to read multiple line from a file
in thread how to read multiple line from a file
This makes the code much more readable. =)
Otherwise I'm not sure where you want the processing logic to happen in your code, maybe something like unless ($. % $size) { ...} within the loop?
I think If a sliding window is needed, shift and push might be better.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to read multiple line from a file
by educated_foo (Vicar) on Apr 14, 2013 at 18:11 UTC | |
by LanX (Saint) on Apr 14, 2013 at 19:43 UTC | |
by educated_foo (Vicar) on Apr 14, 2013 at 20:56 UTC | |
by LanX (Saint) on Apr 14, 2013 at 21:08 UTC | |
by educated_foo (Vicar) on Apr 14, 2013 at 21:26 UTC | |
|