develooper Front page | perl.perl6.language.io | Postings from September 2000

Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars

Thread Previous | Thread Next
From:
Eryq
Date:
September 14, 2000 19:49
Subject:
Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars
Message ID:
39C18E1B.10DC030E@zeegee.com
"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");

?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About