fix unitialized value $_ in length bug
Merge pull request #3 from benwbooth/master

fix unitialized value $_ in length bug