fix code for newer version of Moose ( 2.0801 on Fedora 19 )
Merge pull request #1 from mscherer/master

Fix code to work on newer Moose