Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Special literals taken literally

by larryl (Scribe)
on Apr 14, 2006 at 16:42 UTC ( #543393=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant FOO => 'my hash key';
    
    my %hash = ('my hash key' => 42);
    
    print "Wahoo!\n" if exists $hash{FOO};
    
  2. or download this
    print "Wahoo!\n" if exists $hash{+FOO};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://543393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-07-23 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (154 votes), past polls