Skip Menu |

This queue is for tickets about the MultiTail CPAN distribution.

Report information
The Basics
Id: 7532
Status: new
Priority: 0/
Queue: MultiTail

People
Owner: Nobody in particular
Requestors: jwells [...] abilitec.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: MultiTail function parameter not executing correctly
Hi, Module Name: MultiTail Module Version: 0.5 OS Version: Windows XP(cygwin), Linux, SunOS Perl Version: 5.8.2 I have tried to make contact with the developer of this module but all email address are stale. I have attached a new version of the module as the change was very small, this already contains the fix. I have listed the change below, the issue relates to the read function in the perl module. Show quoted text
----------------Existing code------------------------------------ # Run custom function Pass complete array to custom user function if ( $rFD->{'Function'} ) { foreach my $FH ( @{$rFD->{'FileArray'}} ) { push(@TotalArray,@{$FH->{LineArray}}); } &{$rFD->{'Function'}}(\@TotalArray) } # return($rFD); } ------------------------------------------------------------------
--------------Adjusted code--------------------------------------- # Run custom function Pass complete array to custom user function if ( $rFD->{'Function'} ) { foreach my $FH ( @{$rFD->{'FileArray'}} ) { push(@TotalArray,@{$FH->{LineArray}}); } &{$rFD->{'Function'}}(\@TotalArray) if @TotalArray } # return($rFD); } ------------------------------------------------------------------- If there are any issues relating to the above, please let me know. Kind Regards James
Download MultiTail-0.6.tar.gz
application/x-gzip-compressed 13.2k

Message body not shown because it is not plain text.