in reply to Re: Re: Re: Re^6 (Third Time): mod_perl and cache?
in thread mod_perl and cache?
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)); }
My code doesn't have bugs, it just develops random features.
Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
checking if a variable is tied or not
by perrin (Chancellor) on Mar 03, 2003 at 22:55 UTC | |
by Flame (Deacon) on Mar 03, 2003 at 23:08 UTC | |
by perrin (Chancellor) on Mar 03, 2003 at 23:33 UTC | |
by Flame (Deacon) on Mar 04, 2003 at 03:03 UTC |