in reply to Does anyone use underscore pseudo-filehandle?
The underscore pseudo-filehandle is actually one of the very few features that I can claim is entirely my own idea. I suggested to Larry during the Perl3 alpha testing phase that performing a separate stat operation for each component of -r $foo && -w $foo was wasteful and subject to phase errors. He came up with the underscore cache in response.
The other ideas I can claim directly are the list-slice, and the arrow syntax for dereferencing coderefs (introduced on a bet, but that's another story).
-- Randal L. Schwartz, Perl hacker
|
|---|