in reply to Special literals taken literally

Good point - I was recently similarly burned by something like this:

use constant FOO => 'my hash key'; my %hash = ('my hash key' => 42); print "Wahoo!\n" if exists $hash{FOO};


This will work as expected:

print "Wahoo!\n" if exists $hash{+FOO};


Larry