in reply to Whither the truth of a tied hash?
#!/usr/bin/perl -w use strict; use TieTest; my %h; tie %h, 'TieTest'; $h{$_} = $_ for 0..9; print defined scalar tied(%h)->FIRSTKEY ? "Not empty\n" : "Empty\n"; [download]