[% 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 <email@example.com> Date: 4 Aug 2000 Last Modified: 29 Aug 2000 Mailing List: firstname.lastname@example.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
local to pass them to subroutines, concepts unnecessarily
advanced for such a beginner-type operation.