works like a charme. Is it some internal magic or simply that hashes and named arrays are implemented not that different?sub something { my %hash = @_ print $hash{1} . "\n"; } %test; $test{1} = 1; something(%test);
In reply to Re: Perl Internals: Hashes
by gnork
in thread Perl Internals: Hashes
by Kozz
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |