luke devon <[EMAIL PROTECTED]> asked: > How can we define NULL values in perl ? for instance if I > wanted to assign a NULL value for a variable called "$x= , > how would it be in the code ?
NULL is a SQL term. The Perl equivalent is undef, i.e. $x = undef; To check for definedness of a variable, use defined(), i.e. print "\$x is undef\n" unless defined $x; HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/