develooper Front page | perl.perl6.meta | Postings from May 2001

Re: perl5 to perl6

Thread Previous | Thread Next
From:
Nathan Wiger
Date:
May 11, 2001 10:45
Subject:
Re: perl5 to perl6
Message ID:
20010511104541.H26646@west.sun.com
* Nathan Torkington <gnat@oreilly.com> [05/10/2001 17:31]:
> 
> Here's the corresponding perl6 program:
> 
>   #!/usr/bin/perl -w
> 
>   while (<$ARGS>) {
            ^^^^^

Whoa! Is RFC 94 being considered?! I thought I retracted that. ;-)

> Notice the variable changes: %count{...} because I'm talking about the
> hash %count.  @r[0] because I'm talking about the array @r.  

Yeah, this part I like alot. And if we keep <> like your code example
suggests I'll shut up. :-)

I don't think we're seriously in danger of turning Perl into a wild
froofroo language (we all love it too much).  But it's easy to do so
without realizing it by successive iterations of seemingly minor
changes which together add up to a big difference.

-Nate


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