Not a huge issue, but I hadn't seen anyone else bring it up.
If in fact:
bareword filehandles are ditched
globs are killed
prototypes are potentially touched.
perlsub
sub myopen (*;$) myopen HANDLE, $name
sub mypipe (**) mypipe
At 10:19 AM 8/30/00 -0400, Jerrad Pierce wrote:
Not a huge issue, but I hadn't seen anyone else bring it up.
If in fact:
bareword filehandles are ditched
globs are killed
prototypes are potentially touched.
perlsub
sub myopen (*;$) myopen HANDLE,
Peter Scott wrote:
No-one AFAICT has yet brought up formats, and what would happen to them if
bareword filehandles go the way of the dodo.
Here's some thoughts I've been tooling with. If we take advantage of the
indirect object syntax, we can actually make format into a member
function:
No-one AFAICT has yet brought up formats, and what would happen
to them if bareword filehandles go the way of the dodo.
I'm about to propose that formats be replaced with a mechanism of
Text::Autoformat::form (with some extensions).
Damian
Tom Christiansen wrote:
format $fh EO_FORMAT;
@, @
$stuff, $junk
EO_FORMAT
Actually this is pretty cool, add a = and turn it into a variable
declaration:
my format $FORMAT = '.';
@, @
$stuff, $junk
.
And that looks pretty similar to Perl 5. ;-)
Anyways, I went