perlancar/perl-File-Write-Rotate — pull request #9 by debug-ito (2014-12-05 10:20:56+00:00)
Title: Fix period deletion and lock

Hi perlancer.

This patch fixes the following bugs.

1. "rotate by period" never deleted old files.
2. The lock file remained if write() method died for some reason.

To fix these bugs, I added some tests and added/removed some private methods. Please see the commit logs for detail.