You don't assign a space to a string by assigning it the empty string. Compare the two following statements:
#1234567890123 my $foo = ''; # Empty string my $bar = ' '; # String with a space
Neither of them is the "null" value in Perl. The thing that comes closest to a "null" value is undef.
In reply to Re: Assigning Null to a variable
by Corion
in thread Assigning Null to a variable
by Ombongi.Moraa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |