| perl6 Eliminate bareword filehandles. |
Eliminate bareword filehandles.
Maintainer: Peter Scott <peter@psdt.com> Date: 4 Aug 2000 Last Modified: 29 Aug 2000 Mailing List: perl6-language@perl.org Number: 33 Version: 2 Status: Frozen
Now that scalars (objects) can be used for filehandles, the bareword form should be eliminated.
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 local to pass them to subroutines, concepts unnecessarily advanced for such a beginner-type operation.
Easy, hopefully.
"Typeglobs and Filehandles" in perlvar
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|