On Tue, 8 Aug 2000 10:02:45 +0100, Andy Wardley wrote:
>I was trying to strike a similarity
>with the current style of passing named parameters as a hash ref or
>naked list. e.g.
>
> mysub({ first => 1, second => 2 });
>or
> mysub( first => 1, second => 2 );
>
>See, no prefixes!
The difference is that inside the sub, you don't access the hash values
using prefixes for the keys, either. With (automatically created)
lexical variables, you do.
--
Bart.
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Chaim Frenkel
- Re: RFC 57 (v1) Subroutine prototypes and parameters Chaim Frenkel
- Re: RFC 57 (v1) Subroutine prototypes and parameters Piers Cawley
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Piers Cawley
- Re: RFC 57 (v1) Subroutine prototypes and parameters Damian Conway
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and par... Jacob Davies
- Re: RFC 57 (v1) Subroutine prototypes and... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes... Nathan Wiger
- Re: RFC 57 (v1) Subroutine proto... Andy Wardley
- Re: RFC 57 (v1) Subroutine p... Bart Lateur
- Re: RFC 57 (v1) Subroutine p... Andy Wardley
- Re: RFC 57 (v1) Subroutine p... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine p... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine p... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine p... Bart Lateur
- Re: RFC 57 (v1) Subroutine p... Andy Wardley
- Re: RFC 57 (v1) Subroutine p... Bart Lateur
