On Wed, Feb 20, 2002 at 02:53:20PM +1030, Daniel Falkenberg wrote: > if ( $string eq '' ) { > print "String contains nothing"; > } else { > print "The string contains the following: $string"; > } > > Is this correct?
Have you tried it? Yes, it's correct. A much easier way to determine if a chunk of code does what you want is to run it, rather than post to a list and have to wait for the response. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]