in reply to Assigning Null to a variable

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.