> True. > > I wonder if we could change '=>' to always quote the lhs, even if > prefixed by '$', '@', or '%' (maybe we should only enable this > behaviour inside parameter lists?) That would allow us to do this. That's gonna take some digestion time. In the meantime, is there a reason the suggestion of: > foo($x := 10, $y := 20) was dropped? It seems pretty obvious to me. Or what about: foo($x ||= 10, $y ||= 20); For a little more clarity? Perhaps we're re-inventing the wheel with some new syntax. This works, it's Perl, and it's obvious what's going on. -Nate
- 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
- Re: RFC 57 (v1) Subroutine prototypes and... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Chaim Frenkel