As a newbie you may also want to
use diagnostics; in times like these. Also, as you get more entrenched (smitten?) with Perl, you'll want to scour
CPAN's plethora of parsing modules rather than using quick-and-dirty regexes (although, they will always have their place).