Xymon Mailing List Archive search

Sample of Hobbit server-side module (was: Who Test)

list Greg L Hubbard
Tue, 30 Jan 2007 11:03:02 -0600
Message-Id: <user-421b445c5196@xymon.invalid>

Perl gripes when you set a variable to "" and then use it in a
concatenation.  One workaround is to use the -w switch and the "strict"
pragma during development, then turn them off in production to reduce
the noise.

GLH 

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Tuesday, January 30, 2007 10:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Sample of Hobbit server-side module (was: Who
Test)

On Tue, Jan 30, 2007 at 11:03:56AM -0000, Morris, Chris (SS-IS) wrote:
The script works but is generating this message in the log :-

Use of uninitialized value in concatenation (.) at 
/usr/local/hobbit/server/ext/rootlogin.pl line 76, <STDIN> line
841341.

Like I said, I'm not a Perl programmer :-) I cannot see what would be
unitialized in that line.


Regards,
Henrik