#!/usr/bin/perl -w use strict; use Data::Dumper; $_ = { foo=>1, bar=>2, baz=>3}; print Dumper $_; print "Wahey!\n" if exists($_->{foo})