Hi Tim:

As you indicate a line return is missing, in the original email:
                        # print this information to the screen
                        print "$current_block_hostname:$current_state\n";
                        # since were finished with this hoststatus
                        # block we can reset our
$we_are_inside_hoststatus_block


Should show up as:
                        # print this information to the screen
                        print "$current_block_hostname:$current_state\n";
                        # since were finished with this hoststatus
                        # block we can reset our $we_are_inside_hoststatus_block

Since $we_are_inside_hoststatus_block was not intended here to start a 
statement.
Including $we_are_inside_hoststatus_block in the print, will not have much 
value as the field is either a 1, 0 or undef  (1 at this point, if it were 
undef, we'd get a warning).

Sincerely,
David Kronheim
Production Support Tier II
Gateway Error Correction, VZ450 EDI, EDI Billing, & Metakey/LIA
484-213-1315
________________________________________
From: timothy adigun [[email protected]]
Sent: Wednesday, February 01, 2012 2:11 PM
To: jbiskofski
Cc: Brandon Phelps; [email protected]
Subject: Re: Parsing Question

Hi jbiskofski,
    This script will not work WHY? -- Scalar found where operator expected
at ..... [ Please Check ] line 72, near "$we_are_inside_hoststatus_block"
..........

This communication is confidential.  Frontier only sends and receives email on 
the basis of the terms set out at http://www.frontier.com/email_disclaimer.

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to