-----Original Message-----
From: Gary Stainburn [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 11:35 AM
To: beginners@perl.org
Subject: Re: uninitialized value error

On Wednesday 21 June 2006 16:23, Smith, Derek wrote:
> I am getting the following error yet the script is doing what I need
it
> to do restart a process:
>
>
>
> Use of uninitialized value at /usr/local/admin/named_monit.pl line 71
> (#1)
>
>

What is the code at line 71?

Is it something like

$var1=$var2;

or

if ($var2 == 'fred')  {

If so, you're trying to read a value from $var2 before you've written a
value 
to it, hence the warning message given. 
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
************************************************************************
*

See attachment for line 71.

_________________________________________________

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk 
- Portuguese - Svenska: www.cardinalhealth.com/legal/email

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to