perl -e 'my $hashref = {}; print "yes" if defined $hashref'