Help for this page
defined EXPR defined Returns a Boolean value telling whether EXPR has a value other than the undefined value "undef". If EXPR is not present, $_ is checked.
#!/usr/bin/perl use warnings; ... my $x = ''; print defined ($x), "\n"; # prints a 1