in reply to Re: Re: scalar subkeys %hash ?
in thread scalar subkeys %hash ?
Oh, and if this were a golf, I could improve that by 2 chars:
$n=map keys%$_,each%h
Update:Whoops, as MeowChow pointed out, this doesn't work for hashes with more than one key.
The 15 year old, freshman programmer,
Stephen Rawls
|
|---|