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. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/