"Gregg O'Donnell" <[EMAIL PROTECTED]> writes:

> Hey - I'm receciving syntax and global package errors in lines 540-550 of this 
>script, which is running on WinNT. One error I receive is for not defining my hash 
>"%counties" which is, in fact, defined. So, I'm baffled and stuck. Any insight is 
>greatly appreciated!!

Looks like line 60 is missing a semicolon:

'
my $logger_info = {
        logger_info => {
            optional     =>
                [ qw( name_landowner phone_landowner) ],
            required     =>
                [ qw( name_logger address1_logger city_logger state zipcode 
phone_logger email_logger county location logging_start acres) ],
            constraints  =>
                {
                    email_logger        => "email",
                    phone_logger        => "american_phone",
                    zipcode             => '/^\s*\d{5}(?:[-]\d{4})?\s*$/',
                    state               => "state",

                },
        },                #<----should be ';'


# County names; region email, county email, abbreviations
my %counties = (
'

-RN

-- 

Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to