Lines Matching defs:TIEHASH
27 # TIEHASH should return a reference to the actual storage
37 # TIEHASH should return an array reference with the first element being
57 as methods C<TIEHASH>, C<EXISTS> and C<CLEAR>. The B<Tie::StdHash> and
62 C<new> method: it is used if C<TIEHASH> is not defined
63 in the case a class forgets to include a C<TIEHASH> method.
71 =item TIEHASH classname, LIST
121 C<TIEHASH> method should return a hash reference, and the remaining methods
127 sub TIEHASH {
142 C<TIEHASH> method should return an array reference with the first
149 sub TIEHASH {
160 The default C<TIEHASH> method stores "extra" arguments to tie() starting
162 same storage algorithm as in TIEHASH subroutine above. Hence, a typical
193 $pkg->TIEHASH(@_);
198 sub TIEHASH {
201 warnings::warnif("WARNING: calling ${pkg}->new since ${pkg}->TIEHASH is missing");
205 croak "$pkg doesn't define a TIEHASH method";
235 sub TIEHASH { bless {}, $_[0] }
247 sub TIEHASH { my $p = shift; bless [{}, @_], $p }