>I intend to extend the parameter lists RFC to cover optional
>(non-tailing) arguments.
Will this include having typed variadic functions, allowing you, for
example, to say something like
This function takes any number of arrays, all passed by reference.
I keep thinking of a * or a ... to say "repeat the previous thing",
but that's stepping on other toes.
>Personally, I would like to see the
>indirect object syntax removed in all contexts, inclusing
>this one, and filehandles simply passed as a first argument.
I don't know what's happening with indirect objects, but the nastiness
whereby you can only use unsubscripted scalars is quite the crock.
You know, where you can say
print $fh "stuff\n";
and
<$fh>
But are not (well, in the second you can, but it's wrong) able to say
print $fh[$i] "stuff\n";
and
<$fh[$i]>
Definitely worth a clean-up--at the least.
--tom
- Re: RFC 168 (v1) Built-in functions should be functions Peter Scott
- Re: RFC 168 (v1) Built-in functions should be functi... Johan Vromans
- Re: RFC 168 (v1) Built-in functions should be functions Damian Conway
- Re: RFC 168 (v1) Built-in functions should be functi... John Porter
- Re: RFC 168 (v1) Built-in functions should be fu... Tom Christiansen
- Re: RFC 168 (v1) Built-in functions should b... John Porter
- Re: RFC 168 (v1) Built-in functions shou... Tom Christiansen
- Re: RFC 168 (v1) Built-in functions should be fu... Johan Vromans
- Re: RFC 168 (v1) Built-in functions should be functi... David L. Nicol
- Re: RFC 168 (v1) Built-in functions should be functi... Damian Conway
- Re: RFC 168 (v1) Built-in functions should be fu... Tom Christiansen
- Re: RFC 168 (v1) Built-in functions should b... John Porter
- Re: RFC 168 (v1) Built-in functions should b... Piers Cawley
- Re: RFC 168 (v1) Built-in functions shou... Tom Christiansen
- Re: RFC 168 (v1) Built-in functions... Piers Cawley
- Re: RFC 168 (v1) Built-in functions... Damian Conway
- Re: RFC 168 (v1) Built-in functions should be fu... Nathan Wiger
- Re: RFC 168 (v1) Built-in functions should b... Tom Christiansen
- Re: RFC 168 (v1) Built-in functions shou... Nathan Wiger
- Re: RFC 168 (v1) Built-in functions should be fu... John Porter
- Re: RFC 168 (v1) Built-in functions should be functions Damian Conway
