RFC 68 (v2) Eliminate the optional C<sub> for C<BEGIN> etc block declarations

[email protected] (Perl6 RFC Librarian)
Newsgroups perl.perl6.language,perl.perl6.announce
Message-ID <[email protected]>
This and other RFCs are available on the web at
  http://dev.perl.org/rfc/

=head1 TITLE

Eliminate the optional C<sub> for C<BEGIN> etc block declarations

=head1 VERSION

      Maintainer: Peter Scott <[email protected]>
      Date: 8 Aug 2000
      Last Modified: 29 Aug 2000
      Mailing List: [email protected]
      Version: 2
      Number: 68
      Status: Frozen

=head1 ABSTRACT

The C<sub> keyword is currently optional on C<BEGIN>, C<END>, C<CHECK>,
C<INIT>.  Almost certainly no-one ever uses it.  It should be eliminated
as an option.

=head1 DESCRIPTION

C<BEGIN> etc have special semantics making them different from ordinary
subroutines; telling the user that they can use the C<sub> keyword gives
a false impression.

=head1 IMPLEMENTATION

Obvious.

=head1 REFERENCES

L<perlmod/"Package Constructors and Destructors">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.