in reply to package question
The examples would work without it, as long as you remember to add package main; before the main part of your code.
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.