Skip Menu |

This queue is for tickets about the File-Rsync-Mirror-Recent CPAN distribution.

Report information
The Basics
Id: 68220
Status: open
Priority: 0/
Queue: File-Rsync-Mirror-Recent

People
Owner: Nobody in particular
Requestors: i.mitry [...] gmail.com
Cc:
AdminCc:

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



Subject: wrong closing brace pos in _rmirror_endofloop_sleep
Date: Mon, 16 May 2011 01:36:18 +0300
To: bug-File-Rsync-Mirror-Recent [...] rt.cpan.org
From: Mitry Matyushkov <i.mitry [...] gmail.com>
Hello, It looks like File/Rsync/Mirror/Recent.pm's sub _rmirror_endofloop_sleep is useless unless $self->verbose is set. 'sleep $sleep;' statement should be out of 'if ($self->verbose) {}' block, otherwise it is unreachable. As a side effect of the change - log record of "Dorm %d (%s secs)\n" will be flushed at the end of block and appeared in log file just before sleep. Regards, Mitry.
Thank you! Fixed in the repository and in upcoming 0.2.0