keys is a function, it doesn't take in value
On Thu, May 3, 2012 at 9:08 AM, Rothenmaier, Deane
deane.rothenma...@walgreens.com wrote:
Gurus,
Given something like this:
#!Perl
use strict;
use warnings;
my %hash; keys(%hash) = 128;
print “hash has “ . scalar(keys(%hash)) . “
What Leo said. keys(%hash) returns the keys from the hash as an array,
you can't assign to it AFAIK.
On Thu, May 3, 2012 at 10:18 AM, Leo Susanto leosusa...@gmail.com wrote:
keys is a function, it doesn't take in value
On Thu, May 3, 2012 at 9:08 AM, Rothenmaier, Deane
Subject: Re: Hash Key function puzzlement -- a point of information query
What Leo said. keys(%hash) returns the keys from the hash as an array, you
can't assign to it AFAIK.
On Thu, May 3, 2012 at 10:18 AM, Leo Susanto leosusa...@gmail.com
wrote:
keys is a function, it doesn't take
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Rothenmaier, Deane
Sent: 03 May 2012 17:08
To: perl-win32-users@listserv.ActiveState.com
Subject: Hash Key function puzzlement -- a point of information query
Gurus,