RFC 33 (v2) Eliminate bareword filehandles.

[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 bareword filehandles.

=head1 VERSION

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

=head1 ABSTRACT

Now that scalars (objects) can be used for filehandles, the bareword form
should be eliminated.

=head1 DESCRIPTION

The venerable bareword form of the filehandle leads to code that is
unnecessarily abstruse given that they can now be stored in
scalars.  Bareword filehandles are not lexical, and require the use of
typeglobs and C<local> to pass them to subroutines, concepts unnecessarily
advanced for such a beginner-type operation.

=head1 IMPLEMENTATION

Easy, hopefully.

=head1 REFERENCES

L<perlvar/"Typeglobs and Filehandles">
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.