fixed rt.cpan.org ticket 85984

I read the [cpan ticket](https://rt.cpan.org/Ticket/Display.html?id=85984) that described a bug with the constructor.
Please have a look at this pull request.

Thanks