Help for this page

Select Code to Download


  1. or download this
    sub is_empty_string {
      my ($value) = @_;
      return defined $value and $value eq '';
    }
    
  2. or download this
    sub is_empty_string {
      my ($value) = @_;
      return defined($value) && $value eq '';
    }