> -----Original Message----- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 5:04 PM > To: Perl Beginners > Cc: Wagner, David --- Senior Programmer Analyst --- WGO > Subject: Re: Warning that I am receiving. but not making any sense > > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > > > if ( ! $MyDataSw ) { > > > > It is the if statement in both cases. I changed the > sprintf, but the error > > comes back to the if in both cases. > > > > Thoughts? > > Then either the perl engine is messed up beyond hope, or the > scalar variable > $MyDataSw is more than a simple scalar 'my' variable. > > How is $MyDataSw defined? I'm guessing it's tied. No. It is a simple my $MyDataSw = 0 with the block that it is being used in. That is for both cases of the variable and the warning message that is coming up.
Wags ;) > > Rob > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/