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
Jump to: navigation, search
(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>}}")
 
 
(No difference)

Latest revision as of 02: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'};