Questions about this topic? Sign up to ask in the talk tab.
Difference between revisions of "Perl/Basics/Boolean Logic/Helper Natives/Exists"
From NetSec
AlizaLorenzo (Talk | contribs) (Created page with "The '''exists''' native applies specifically to hashes and hash references. {{code|text=<source lang="perl">print "This user has an age.\n" if exists $user->{'age'}; </source>}}") |
Chantal21I (Talk | contribs) |
(No difference)
|
Latest revision as of 01:23, 19 July 2012
The exists native applies specifically to hashes and hash references.
print "This user has an age.\n" if exists $user->{'age'}; |