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
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
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
(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
>
> "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'
> 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
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
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
> -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
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
* 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
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
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
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
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
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
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(
17 matches
Mail list logo