--- Ovid <[EMAIL PROTECTED]> wrote: > > + elsif ($result{number} and my $extra = $self->_is_extra_line( > > $line )) > > Always fails to collect the data I need because $result{number} is > false when the extra data is being accumulated. Thus, I changed it > to: > > elsif (!$result{number} and my $extra = > $self->_is_extra_line($line))
And this is confusing me because the next line actually uses the $result{number} but the code still works. elsif (!$result{number} and my $extra = $self->_is_extra_line( $line )) { my $test = $totals->{details}[$result{number} - 1]; Weird. Cheers, Ovid ===== If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/