in reply to Perl help
Please show us what you've already tried. Also, code and data must be put into <code></code> tags for readability and ease of copy/paste, per How do I post a question effectively?.