Change 13544 by jhi@alpha on 2001/12/09 15:20:08

        Remove Attribute::Handlers, as per Damian's request.
        (Because of fixing the my variables to be now handled
        in run-time, the whole internals of the A::H needs to
        be rewritten and Damian will not have time for that
        for months.)

Affected files ...

.... //depot/perl/MANIFEST#657 edit
.... //depot/perl/lib/Attribute/Handlers.pm#9 edit
.... //depot/perl/lib/Attribute/Handlers/Changes#4 delete
.... //depot/perl/lib/Attribute/Handlers/README#4 delete
.... //depot/perl/lib/Attribute/Handlers/demo/Demo.pm#4 delete
.... //depot/perl/lib/Attribute/Handlers/demo/Descriptions.pm#4 delete
.... //depot/perl/lib/Attribute/Handlers/demo/MyClass.pm#4 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo2.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo3.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo4.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_call.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_chain.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_cycle.pl#4 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_hashdir.pl#4 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_phases.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_range.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/demo/demo_rawdata.pl#3 delete
.... //depot/perl/lib/Attribute/Handlers/t/multi.t#3 delete
.... //depot/perl/pod/perldelta.pod#274 edit
.... //depot/perl/pod/perlmodlib.pod#47 edit
.... //depot/perl/pod/perltoc.pod#132 edit

Differences ...

==== //depot/perl/MANIFEST#657 (text) ====
Index: perl/MANIFEST
--- perl/MANIFEST.~1~   Sun Dec  9 08:30:05 2001
+++ perl/MANIFEST       Sun Dec  9 08:30:05 2001
@@ -788,24 +788,6 @@
 lib/AnyDBM_File.pm             Perl module to emulate dbmopen
 lib/AnyDBM_File.t              See if AnyDBM_File works
 lib/assert.pl                  assertion and panic with stack trace
-lib/Attribute/Handlers.pm              Attribute::Handlers
-lib/Attribute/Handlers/Changes Attribute::Handlers
-lib/Attribute/Handlers/demo/demo.pl    Attribute::Handlers demo
-lib/Attribute/Handlers/demo/Demo.pm    Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo2.pl   Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo3.pl   Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo4.pl   Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_call.pl       Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_chain.pl      Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_cycle.pl      Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_hashdir.pl    Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_phases.pl     Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_range.pl      Attribute::Handlers demo
-lib/Attribute/Handlers/demo/demo_rawdata.pl    Attribute::Handlers demo
-lib/Attribute/Handlers/demo/Descriptions.pm    Attribute::Handlers demo
-lib/Attribute/Handlers/demo/MyClass.pm Attribute::Handlers demo
-lib/Attribute/Handlers/README          Attribute::Handlers
-lib/Attribute/Handlers/t/multi.t       See if Attribute::Handlers works
 lib/attributes.pm              For "sub foo : attrlist"
 lib/AutoLoader.pm              Autoloader base class
 lib/AutoLoader.t               See if AutoLoader works

==== //depot/perl/lib/Attribute/Handlers.pm#9 (text) ====
==== //depot/perl/pod/perldelta.pod#274 (text) ====
Index: perl/pod/perldelta.pod
--- perl/pod/perldelta.pod.~1~  Sun Dec  9 08:30:05 2001
+++ perl/pod/perldelta.pod      Sun Dec  9 08:30:05 2001
@@ -456,22 +456,6 @@
 
 =item *
 
-C<Attribute::Handlers> allows a class to define attribute handlers.
-
-    package MyPack;
-    use Attribute::Handlers;
-    sub Wolf :ATTR(SCALAR) { print "howl!\n" }
-
-    # later, in some package using or inheriting from MyPack...
-
-    my MyPack $Fluffy : Wolf; # the attribute handler Wolf will be called
-
-Both variables and routines can have attribute handlers.  Handlers can
-be specific to type (SCALAR, ARRAY, HASH, or CODE), or specific to the
-exact compilation phase (BEGIN, CHECK, INIT, or END).
-
-=item *
-
 B<B::Concise> is a new compiler backend for walking the Perl syntax
 tree, printing concise info about ops, from Stephen McCamant.  The
 output is highly customisable.  See L<B::Concise>.

==== //depot/perl/pod/perlmodlib.pod#47 (text) ====
Index: perl/pod/perlmodlib.pod
--- perl/pod/perlmodlib.pod.~1~ Sun Dec  9 08:30:05 2001
+++ perl/pod/perlmodlib.pod     Sun Dec  9 08:30:05 2001
@@ -141,10 +141,6 @@
 
 Predeclare sub names
 
-=item threads
-
-Perl extension allowing use of interpreter based threads from perl
-
 =item utf8
 
 Enable/disable UTF-8 (or UTF-EBCDIC) in source code
@@ -179,10 +175,6 @@
 
 Provide framework for multiple DBMs
 
-=item Attribute::Handlers
-
-Simpler definition of attribute handlers
-
 =item AutoLoader
 
 Load subroutines only on demand

==== //depot/perl/pod/perltoc.pod#132 (text+w) ====
Index: perl/pod/perltoc.pod
--- perl/pod/perltoc.pod.~1~    Sun Dec  9 08:30:05 2001
+++ perl/pod/perltoc.pod        Sun Dec  9 08:30:05 2001
@@ -2494,41 +2494,40 @@
 
 attributes, attrs, autouse, base, blib, bytes, charnames, constant,
 diagnostics, encoding, fields, filetest, integer, less, locale, open, ops,
-overload, re, sigtrap, sort, strict, subs, threads, utf8, vars, vmsish,
-warnings, warnings::register
+overload, re, sigtrap, sort, strict, subs, utf8, vars, vmsish, warnings,
+warnings::register
 
 =item Standard Modules
 
-AnyDBM_File, Attribute::Handlers, AutoLoader, AutoSplit, B, B::Asmdata,
-B::Assembler, B::Bblock, B::Bytecode, B::C, B::CC, B::Concise, B::Debug,
-B::Deparse, B::Disassembler, B::Lint, B::Showlex, B::Stackobj, B::Stash,
-B::Terse, B::Xref, Benchmark, ByteLoader, CGI, CGI::Apache, CGI::Carp,
-CGI::Cookie, CGI::Fast, CGI::Pretty, CGI::Push, CGI::Switch, CGI::Util,
-CPAN, CPAN::FirstTime, CPAN::Nox, Carp, Carp::Heavy, Class::ISA,
-Class::Struct, Cwd, DB, DB_File, Devel::SelfStubber, Digest, DirHandle,
-Dumpvalue, Encode, Encode::EncodeFormat, Encode::Tcl, English, Env,
-Exporter, Exporter::Heavy, ExtUtils::Command, ExtUtils::Constant,
-ExtUtils::Embed, ExtUtils::Install, ExtUtils::Installed, ExtUtils::Liblist,
-ExtUtils::MM_Cygwin, ExtUtils::MM_NW5, ExtUtils::MM_OS2, ExtUtils::MM_Unix,
-ExtUtils::MM_VMS, ExtUtils::MM_Win32, ExtUtils::MakeMaker,
-ExtUtils::Manifest, ExtUtils::Mkbootstrap, ExtUtils::Mksymlists,
-ExtUtils::Packlist, ExtUtils::testlib, Fatal, Fcntl, File::Basename,
-File::CheckTree, File::Compare, File::Copy, File::DosGlob, File::Find,
-File::Path, File::Spec, File::Spec::Epoc, File::Spec::Functions,
-File::Spec::Mac, File::Spec::OS2, File::Spec::Unix, File::Spec::VMS,
-File::Spec::Win32, File::Temp, File::stat, FileCache, FileHandle,
-Filter::Simple, FindBin, Getopt::Long, Getopt::Std, I18N::Collate,
-I18N::LangTags, I18N::LangTags::List, IO, IPC::Open2, IPC::Open3,
-Locale::Constants, Locale::Country, Locale::Currency, Locale::Language,
-Locale::Maketext, Locale::Maketext::TPJ13, Math::BigFloat, Math::BigInt,
-Math::BigInt::Calc, Math::Complex, Math::Trig, Memoize,
-Memoize::AnyDBM_File, Memoize::Expire, Memoize::ExpireFile,
-Memoize::ExpireTest, Memoize::NDBM_File, Memoize::SDBM_File,
-Memoize::Saves, Memoize::Storable, NDBM_File, NEXT, Net::Cmd, Net::Config,
-Net::Domain, Net::FTP, Net::NNTP, Net::Netrc, Net::POP3, Net::Ping,
-Net::SMTP, Net::Time, Net::hostent, Net::libnetFAQ, Net::netent,
-Net::protoent, Net::servent, O, ODBM_File, Opcode, POSIX, PerlIO,
-Pod::Checker, Pod::Find, Pod::Html, Pod::InputObjects, Pod::LaTeX,
+AnyDBM_File, AutoLoader, AutoSplit, B, B::Asmdata, B::Assembler, B::Bblock,
+B::Bytecode, B::C, B::CC, B::Concise, B::Debug, B::Deparse,
+B::Disassembler, B::Lint, B::Showlex, B::Stackobj, B::Stash, B::Terse,
+B::Xref, Benchmark, ByteLoader, CGI, CGI::Apache, CGI::Carp, CGI::Cookie,
+CGI::Fast, CGI::Pretty, CGI::Push, CGI::Switch, CGI::Util, CPAN,
+CPAN::FirstTime, CPAN::Nox, Carp, Carp::Heavy, Class::ISA, Class::Struct,
+Cwd, DB, DB_File, Devel::SelfStubber, Digest, DirHandle, Dumpvalue, Encode,
+Encode::EncodeFormat, Encode::Tcl, English, Env, Exporter, Exporter::Heavy,
+ExtUtils::Command, ExtUtils::Constant, ExtUtils::Embed, ExtUtils::Install,
+ExtUtils::Installed, ExtUtils::Liblist, ExtUtils::MM_Cygwin,
+ExtUtils::MM_NW5, ExtUtils::MM_OS2, ExtUtils::MM_Unix, ExtUtils::MM_VMS,
+ExtUtils::MM_Win32, ExtUtils::MakeMaker, ExtUtils::Manifest,
+ExtUtils::Mkbootstrap, ExtUtils::Mksymlists, ExtUtils::Packlist,
+ExtUtils::testlib, Fatal, Fcntl, File::Basename, File::CheckTree,
+File::Compare, File::Copy, File::DosGlob, File::Find, File::Path,
+File::Spec, File::Spec::Epoc, File::Spec::Functions, File::Spec::Mac,
+File::Spec::OS2, File::Spec::Unix, File::Spec::VMS, File::Spec::Win32,
+File::Temp, File::stat, FileCache, FileHandle, Filter::Simple, FindBin,
+Getopt::Long, Getopt::Std, I18N::Collate, I18N::LangTags,
+I18N::LangTags::List, IO, IPC::Open2, IPC::Open3, Locale::Constants,
+Locale::Country, Locale::Currency, Locale::Language, Locale::Maketext,
+Locale::Maketext::TPJ13, Math::BigFloat, Math::BigInt, Math::BigInt::Calc,
+Math::Complex, Math::Trig, Memoize, Memoize::AnyDBM_File, Memoize::Expire,
+Memoize::ExpireFile, Memoize::ExpireTest, Memoize::NDBM_File,
+Memoize::SDBM_File, Memoize::Saves, Memoize::Storable, NDBM_File, NEXT,
+Net::Cmd, Net::Config, Net::Domain, Net::FTP, Net::NNTP, Net::Netrc,
+Net::POP3, Net::Ping, Net::SMTP, Net::Time, Net::hostent, Net::libnetFAQ,
+Net::netent, Net::protoent, Net::servent, O, ODBM_File, Opcode, POSIX,
+PerlIO, Pod::Checker, Pod::Find, Pod::Html, Pod::InputObjects, Pod::LaTeX,
 Pod::Man, Pod::ParseLink, Pod::ParseUtils, Pod::Parser, Pod::Plainer,
 Pod::Select, Pod::Text, Pod::Text::Color, Pod::Text::Overstrike,
 Pod::Text::Termcap, Pod::Usage, Pod::t::basic, SDBM_File, Safe,
@@ -8476,58 +8475,6 @@
 
 =back
 
-=head2 threads - Perl extension allowing use of interpreter based threads
-from perl
-
-=over 4
-
-=item SYNOPSIS
-
-=item DESCRIPTION
-
-$thread = new(function, LIST), $thread->join, $thread->detach,
-threads->self, $thread->tid
-
-=item TODO
-
-Fix so the return value is returned when you join, Add join_all, Fix memory
-leaks!
-
-=item AUTHOR and COPYRIGHT
-
-=item BUGS
-
-creating a thread from within a thread is unsafe under win32,
-PERL_OLD_SIGNALS are not threadsafe, will not be
-
-=item SEE ALSO
-
-=back
-
-=head2 threadshared, threads::shared - Perl extension for sharing data
-structures between threads
-
-=over 4
-
-=item SYNOPSIS
-
-=item DESCRIPTION
-
-=item EXPORT
-
-=item FUNCTIONS
-
-share VARIABLE, lock VARIABLE, unlock VARIABLE, cond_wait VARIABLE,
-cond_signal VARIABLE, cond_broadcast VARIABLE
-
-=item BUGS
-
-=item AUTHOR
-
-=item SEE ALSO
-
-=back
-
 =head2 utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source
 code
 
@@ -8620,49 +8567,6 @@
 
 =back
 
-=head2 Attribute::Handlers - Simpler definition of attribute handlers
-
-=over 4
-
-=item VERSION
-
-=item SYNOPSIS
-
-=item DESCRIPTION
-
-[0], [1], [2], [3], [4], [5]
-
-=over 4
-
-=item Typed lexicals
-
-=item Type-specific attribute handlers
-
-=item Non-interpretive attribute handlers
-
-=item Phase-specific attribute handlers
-
-=item Attributes as C<tie> interfaces
-
-=back
-
-=item EXAMPLES
-
-=item DIAGNOSTICS
-
-C<Bad attribute type: ATTR(%s)>, C<Attribute handler %s doesn't handle %s
-attributes>, C<Declaration of %s attribute in package %s may clash with
-future reserved word>, C<Can't have two ATTR specifiers on one subroutine>,
-C<Can't autotie a %s>, C<Internal error: %s symbol went missing>
-
-=item AUTHOR
-
-=item BUGS
-
-=item COPYRIGHT
-
-=back
-
 =head2 AutoLoader - load subroutines only on demand
 
 =over 4
End of Patch.

Reply via email to