use Tie::IxHash; use strict; use warnings; { my %hash; print ref(tie(%hash, "Tie::IxHash"))."\n"; $hash{'hi'} = 1; $hash{'there'} = 2; some(\%hash); } sub some{ my $temp = shift; print ref($temp)."\n"; # my %hash = %{$temp}; # print ref(tied(%hash)); print ref(tied(%{$temp})); }
In reply to Re: Re: checking if a variable is tied or not
by perrin
in thread mod_perl and cache?
by Flame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |