
miller
User
Jun 22, 2011, 2:23 PM
Views: 9720
|
Re: [blackeagle225] Reading two lines at a time
|
|
|
Cool, glad you figured it out. I'd probably do something like the following:
my $lastline = <FILE>; while (<FILE>) { # Work with $_ and $lastline ... $lastline = $_; }
(This post was edited by miller on Jun 22, 2011, 3:09 PM)
|