Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Perl/Basics/Boolean Logic/Helper Natives/Undef"

From NetSec
Jump to: navigation, search
(Created page with "The '''undef''' native determines if a '''scalar''' value is un-defined: {{code|text=<source lang="perl"> print "We received a response from the server.\n" unless undef $response...")
 
 
(No difference)

Latest revision as of 01:24, 19 July 2012

The undef native determines if a scalar value is un-defined:

 
print "We received a response from the server.\n" unless undef $response;