Re: perl5 to perl6

2001-05-15 Thread Simon Cozens
On Tue, May 15, 2001 at 03:22:04PM -0400, Stephen P. Potter wrote: > This is quite a simple little script. The majority of the changes that are > being talked about won't ever show up in this. It'd be nice if you could > show something a little more complex. The problem is that some people are

Re: perl5 to perl6

2001-05-15 Thread Nathan Torkington
Stephen P. Potter writes: > This is quite a simple little script. The majority of the changes > that are being talked about won't ever show up in this. It'd be > nice if you could show something a little more complex. The point I was making is that the perl4 stuff won't change significantly. T

Re: perl5 to perl6

2001-05-15 Thread Stephen P. Potter
Lightning flashed, thunder crashed and Nathan Torkington <[EMAIL PROTECTED]> whi spered: | Here's a program I use to count messages in my mailfile: This is quite a simple little script. The majority of the changes that are being talked about won't ever show up in this. It'd be nice if you could

Re: perl5 to perl6

2001-05-14 Thread Dave Storrs
(I think I've got the attributions right.) On Fri, 11 May 2001, Jarkko Hietaniemi wrote: > On Fri, May 11, 2001 at 05:02:39PM +, [EMAIL PROTECTED] wrote: > > Nathan Torkington <[EMAIL PROTECTED]> writes: > > > > Speaking as someone that has often had to work on C, Perl, Verilog and VHDL >

Re: perl5 to perl6

2001-05-12 Thread Chaim Frenkel
> "NT" == Nathan Torkington <[EMAIL PROTECTED]> writes: NT> Chaim Frenkel writes: >> Those are all major typo inducing changes. >> >> You'll need alternative micro-code loads for your fingers, when >> switching between clients and when editing scripts that pre-date Perl >> 6. NT> So we can'

Re: perl5 to perl6

2001-05-11 Thread Jarkko Hietaniemi
> In this thread I've heard both "perl6 is too different from perl5" and > "perl6 is too similar to perl5", without anybody naming the specific > things that are problems and suggesting solutions. The old adage about programmers being like cats, constantly at the wrong side of the door, or at the

Re: perl5 to perl6

2001-05-11 Thread Nathan Torkington
Jarkko Hietaniemi writes: > Yea, verily. I have more than once stared for more seconds than I > care to admit being completely baffled at why my C compiler doesn't > appreciate > > print "foo = $foo\n"; If I had a dollar for every time I've put $ on C variables, I'd have enough to buy Wil

Re: perl5 to perl6

2001-05-11 Thread Jarkko Hietaniemi
On Fri, May 11, 2001 at 05:02:39PM +, [EMAIL PROTECTED] wrote: > Nathan Torkington <[EMAIL PROTECTED]> writes: > >So now the changes are too SMALL, and we should have a language that > > is completely different so that you won't be confused when you edit > > different scripts? > > Speaking

RE: perl5 to perl6

2001-05-11 Thread David Grove
> -Original Message- > From: Nathan Torkington [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 10:20 AM > To: Chaim Frenkel > Cc: [EMAIL PROTECTED] > Subject: Re: perl5 to perl6 > > > Chaim Frenkel writes: > > Those are all major typo indu

Re: perl5 to perl6

2001-05-11 Thread Larry Wall
Nathan Wiger writes: : 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. Well, hey, even

Re: perl5 to perl6

2001-05-11 Thread Nathan Wiger
* Nathan Torkington <[EMAIL PROTECTED]> [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

Re: perl5 to perl6

2001-05-11 Thread nick
Nathan Torkington <[EMAIL PROTECTED]> writes: >So now the changes are too SMALL, and we should have a language that > is completely different so that you won't be confused when you edit > different scripts? Speaking as someone that has often had to work on C, Perl, Verilog and VHDL at the same

Re: perl5 to perl6

2001-05-11 Thread Larry Wall
Chaim Frenkel writes: : Those are all major typo inducing changes. That's why Cthulhu invented "use strict". : You'll need alternative micro-code loads for your fingers, when : switching between clients and when editing scripts that pre-date Perl : 6. People are actually quite adaptable when th

Re: perl5 to perl6

2001-05-11 Thread Nathan Torkington
Chaim Frenkel writes: > Those are all major typo inducing changes. > > You'll need alternative micro-code loads for your fingers, when > switching between clients and when editing scripts that pre-date Perl > 6. So we can't change Perl, because changes have to be learned? So now the changes are

Re: perl5 to perl6

2001-05-11 Thread Chaim Frenkel
Those are all major typo inducing changes. You'll need alternative micro-code loads for your fingers, when switching between clients and when editing scripts that pre-date Perl 6. > "NT" == Nathan Torkington <[EMAIL PROTECTED]> writes: NT> Here's a program I use to count messages in my ma

Re: perl5 to perl6

2001-05-10 Thread Nathan Torkington
Nathan Torkington writes: > Here's a program I use to count messages in my mailfile: My point being that perl6 is not a bizarre froofroo language bearing no relationship to perl5, and that all the good stuff from perl5 will be alive and kicking in perl6. I think a lot of the panic here is ground

perl5 to perl6

2001-05-10 Thread Nathan Torkington
Here's a program I use to count messages in my mailfile: #!/usr/bin/perl -w while (<>) { if (($who) = /^From\s+\S+\s+\S+\s+(\S+\s+\S+)/) { @r = reverse split ' ', $who; $r[0] = sprintf("%02d", $r[0]); $count{"@r"}++; } } foreach (sort keys %count) { printf(