New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hash of hashes #425
Comments
From kenc@research.canon.com.auPerl Version: 5.004_04, 5.005_03 ***************************************************************** $hash{10}{5} = 1; while ($i < 1000000) Regards -- Ken Carroll, Senior Software Engineeer |
From [Unknown Contact. See original ticket]On Wed, 25 Aug 1999 at 03:59:11 +1000, Ken Carroll wrote:
Arguable as to whether it's a bug. Referring to $hash{$i}{$j} - even This doesn't leak memory: print "Yeah! $i\n" if (defined $hash{$i} && defined $hash{$i}{$j}); [I've a sneaking feeling that a related issue was discussed recently, BTW if you don't want to iterate over %hash (i.e. if you never use Ian |
From [Unknown Contact. See original ticket]Ian Phillipps <ian@dial.pipex.com> writes:
The related issue was that _60 deprecated 'defined $hash{$i}' so -- |
From [Unknown Contact. See original ticket]Nick Ing-Simmons <nick@ing-simmons.net> wrote
I hope not! defined() is a reasonable operation on any scalar I thought the discussion related to defined(@array) and defined(%hash), Mike Guy |
From [Unknown Contact. See original ticket]On Tue, 24 Aug 1999 at 14:52:16 +0000, Nick Ing-Simmons wrote:
I don't think that's right - $hash{$i} is a perfectly ordinary scalar, Now you remind me, wasn't it defined(%hash) that was deprecated, for % perl5.00561 -we 'my %hash; defined %hash' Ian |
From [Unknown Contact. See original ticket]Nick Ing-Simmons <nick@ing-simmons.net> writes:
Ignore me - I meant defined(%hash) was deprecated... -- |
Migrated from rt.perl.org#1264 (status was 'resolved')
Searchable as RT1264$
The text was updated successfully, but these errors were encountered: