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

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

From NetSec
Jump to: navigation, search
(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; <...")
 
 
(No difference)

Latest revision as of 02:23, 19 July 2012

The defined native determines if a scalar value is defined:

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