in reply to Re: Re: Log parsing by timestamp dilema
in thread Log parsing by timestamp dilema
In next_line, capture the value of $self->{sorted}->[0]->{name} when you read from the handle, and do an array return with both the line and the filename. That should do it.$self->{files}->[$n]->{fh} = $fh; $self->{files}->[$n]->{name} = $file;
|
|---|