in reply to Where's my tie ?
package myhash; require Tie::Hash; @ISA = (Tie::StdHash); sub DELETE { print "in my own delete"; #it should do something more meaningful, +this is just a demo } 1; myhash.pl: (a testbed) use myhash; tie %a, 'myhash'; delete $a{"a"};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Where's my tie ?
by philou (Beadle) on Dec 02, 2002 at 07:29 UTC |