[% setvar title Eliminate bareword filehandles. %]
|Note: these documents may be out of date. Do not use as reference!|
To see what is currently happening visit http://www.perl6.org/
Eliminate bareword filehandles.
Maintainer: Peter Scott <firstname.lastname@example.org> Date: 4 Aug 2000 Last Modified: 29 Aug 2000 Mailing List: email@example.com 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
local to pass them to subroutines, concepts unnecessarily
advanced for such a beginner-type operation.