Re: You will not have to rewrite your Perl 5 programs!

2001-05-11 Thread Michael G Schwern

On some date someone wrote:
 : option in (say) perl5.8 which would allow folk to find typeglobs etc,
 : and adjust code in advance.

It should be possible to do most of this externally as a B module.


-- 

Michael G. Schwern   [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED]   Kwalitee Is Job One
Do not try comedy at home!  Milk  Cheese are advanced experts!  Attempts at
comedy can be dangerously unfunny!



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 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




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 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 too SMALL, and we should have a language that
   is completely different so that you won't be confused when you edit
   different scripts?

I don't see the inevitable typos as a problem. They're quite temporary
anyways, even for people who have Perl 4 habits still. As long as the
concepts make sense, which they do, the brain should adjust in short order.

(Said by a person who still writes 1991 on checks.)

Programmer efficiency IMO is secondary (as long as it's fun) to any
requirement of abyssmal maintenance or conversion. So, I'm happy with it.
The books will be off for a while, but they need to be rewritten anyways.

(Said by a person who still refers to the pink camel when the blue one is
under the bed hiding.)


David T. Grove
Blue Square Group
[EMAIL PROTECTED]
[EMAIL PROTECTED]




Re: Perl, the new generation

2001-05-11 Thread Piers Cawley

David Grove [EMAIL PROTECTED] writes:

  Perl 5 is far from stagnant--please don't bend the truth to fit your
  points.  My impression is that there's quite a bit more constructive
  activity on p5p than there was a year ago.
 
 I've stopped paying attention to P5P except for keeping an eye on the
 possibility of a new surprise upgrade from Microsoft. However, the attitude
 of the P5P is irrlevant to the user base.
 
  : Unless Perl 6 is capable of parsing and running that 99.9% (or
  higher) of
  : Perl 5 scripts originally foretold, I foresee a far worse
  outcome for Perl 6
  : than has happened for an almost universally rejected 5.6 and 5.6.1.
 
  There you go again, as Uncle Ronnie used to say.  Excessive hyperbole
  will cost you sympathetic readership.
 
 Shall I list them again? Dude, it's been 13 months since 5.6 was released,
 and two commercial entities have so far accepted it: ActiveState and SuSE.
 Speaking with SuSE around October (7.0), the rep's answer getting back to me
 was simply we don't consider it to be stable enough yet to include it in
 our distribution.

Well, it's there in Mandrake 8, and was available as an update long
before Mandrake 8 got released. Still only 5.6.0 though. Dunno about
the rest, but it's 50% more than your claim...

And remind me how long ago it was that most of the systems you're
talking about actually started to include Perl as anything other than
a 'Danger Will Robinson, unsupported contrib code' type package?

-- 
Piers Cawley
www.iterative-software.com




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 both sides of the argument at the
same time?

 It must be a full moon or something :-)
 
 Nat
 

-- 
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen