$hash{'a'}=1; print exists $hash{'a'}?'yes':'no'; #yes