Hey all,

Just wondering how I check if a variable contains nothing or not.  I
thought it was something like the following...

if ( $string eq '' ) {
  print "String contains nothing";
} else {
  print "The string contains the following: $string";
}

Is this correct?

Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to