my %hash=(test=>{}); print "true\n" if $hash{test}; # prints true
How can I tell if it's empty? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
my %hash=(test=>{}); print "true\n" if $hash{test}; # prints true
How can I tell if it's empty? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/