The lines will always be defined but I need to process that previous line. I am still kinda in the closet on what you mean.
my $current = $_; # process $current here...
Other choices: If file size isn't an issue, just slurp the whole think into an array and use indexing. If it is, use Tie::File.
Good luck.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>