You code says 'use stict;'
And yet I found a bareword
This script will not run.

In reply to Bare Errors by webfiend

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":