From: Nick Ing-Simmons Date: Tue, 13 Jan 1998 21:27:33 +0000 (+0000) Subject: Skeleton Tie::Array X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ab3c85350aa85d8f47cd7983fff31f525e769c31;p=p5sagit%2Fp5-mst-13.2.git Skeleton Tie::Array p4raw-id: //depot/ansiperl@419 --- diff --git a/lib/Tie/Array.pm b/lib/Tie/Array.pm new file mode 100644 index 0000000..c3ddfa9 --- /dev/null +++ b/lib/Tie/Array.pm @@ -0,0 +1,40 @@ +package Tie::Array; + +# No content yet - just pod skeleton. + +1; + +__END__ + +=head1 NAME + +Tie::Array - base class for tied arrays + +=head1 SYNOPSIS + + use Tie::Array; + @ISA = 'Tie::Array'; + + sub SIZE { ... } + sub FETCH { ... } + sub STORE { ... } + sub CLEAR { ... } + sub PUSH { ... } + sub POP { ... } + sub SHIFT { ... } + sub UNSHIFT { ... } + sub SPLICE { ... } + +=head1 DESCRIPTION + +This module provides some skeletal methods for array-tying classes. + + +=head1 CAVEATS + +There is no support at present for tied @ISA. There is a potential conflict +between magic entries needed to notice setting of @ISA, and those needed to +implement 'tie'. + +=cut +