Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars
[email protected] (Eryq) Thu, 14 Sep 2000 22:48:59 -0400
| Newsgroups | perl.perl6.language.io |
|---|---|
| Organization | ZeeGee Software, Inc. |
| Message-ID | <[email protected]> |
"David L. Nicol" wrote:
> >
> > 1. You must use globs to pass them in and out of functions
>
> This could be resolved by allowing undecorated types to be passed
This is already allowed. It's called "passing in a bareword".
And barewords are just strings. Are you proposing
that "a bareword should now mean a filehandle", so that
copydata(STDIN, STDOUT);
means something different from
copydata('STDIN', 'STDOUT');
or
copydata(STDIN => "STDOUT");
?