develooper Front page | perl.perl6.language | Postings from May 2007

Re: Is Perl 6 too late?

From:
Gabor Szabo
Date:
May 14, 2007 10:42
Subject:
Re: Is Perl 6 too late?
Message ID:
d8a74af10705141041j4732a79ayf21f22bf3baed90e@mail.gmail.com
On 5/14/07, John Macdonald <john@perlwolf.com> wrote:
>  Removing the sigil
> on a function call (it used to always be written &sub(args...))
> did, I think, lead to the difficulty in perl5 where it became
> difficult to add new keyword operators to the language - because
> they could conflict with subroutine names in existing code.

Actually I think I never understood  this issue.
We claim that having the sigils saves us from stepping on our future
feet by making sure keywords of the language are always different
from any variable we might create.

The fact that function don't need a sigil any more and it is even
AFAIK discouraged to be used makes *this* argument mute.

Thought this thread might not be the best place to ask this
I'd be glad to read some explanation about this.

regards
   Gabor



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