#!/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";
In reply to RE: Whither the truth of a tied hash?
by takshaka
in thread Whither the truth of a tied hash?
by mojotoad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |