On Thu, Oct 13, 2005 at 09:41:12PM +0200, Abigail wrote: > > my %hash; # Empty hash. > if %hash{1} {print "Found it"} # No output. > if %hash {1} {print "Found it"} # Prints 'Found it'.
Someone pointed out that I was incorrect. It turns out to be _worse_: my %hash; # Empty hash. if %hash{1} {print "Found it"} # No output. if %hash {1} {print "Found it"} # Syntax error. if %hash {1} {print "Found it"} # Prints 'Found it'. Abigail
pgpt4Z0fVt3Sd.pgp
Description: PGP signature