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

Perl/Basics/Boolean Logic/Helper Natives/Undef

From NetSec
Revision as of 02:49, 16 July 2012 by AlizaLorenzo (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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