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

Perl/Basics/Boolean Logic/Helper Natives/Defined

From NetSec
Revision as of 03:48, 16 July 2012 by AlizaLorenzo (Talk | contribs) (Created page with "The '''defined''' native determines if a '''scalar''' value is defined: {{code|text=<source lang="perl"> print "We received a response from the server.\n" if defined $response; <...")

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

The defined native determines if a scalar value is defined:

 
print "We received a response from the server.\n" if defined $response;