Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: ** operator in perl

by Zen (Deacon)
on Feb 04, 2009 at 20:51 UTC ( #741419=note: print w/ replies, xml ) Need Help??


in reply to Re^4: ** operator in perl
in thread ** operator in perl

Perl 5 and 6 have less in common than Haskell and 6. Actually, 6 is called perl because it is written by the same author(s). Proof? It doesn't run 5 code. So yes, you will have to learn this whole new language or find something new that suits you.


Comment on Re^5: ** operator in perl
Re^6: ** operator in perl
by moritz (Cardinal) on Feb 04, 2009 at 22:12 UTC
    To quote S01:
    Migration in the other direction is also important. In Perl 6 mode, one can drop back to Perl 5 mode with use v5 at the beginning of a lexical block. Such blocks may be nested

    Please stop spreading FUD.

      http://www.perlmonks.org/?node_id=614624

      I guess it means more when timtoady says it than I do. Sigh. So you are compiling perl code on haskell compiler then, with ability to share data structures and code completely between haskellperl and perl 5? So all the cpan will be migrated happily?
        So you are compiling perl code on haskell compiler then

        I don't understand your Haskell fixation. There is one (currently not very actively developed) Perl 6 compiler that's written in Haskell. That's Pugs.

        There are other compilers, namely Rakudo (Perl 6 on Parrot) that have nothing to do with Haskell.

        That said pugs had a proof-of-concept implementation of sharing data structures between Perl 5 and Perl 6.

        (And actually there's another project named smop that is mostly a backend for Perl 6, and it also has a proof-of-concept p5-p6 bridge).

        So all the cpan will be migrated happily?

        We'll do our very best.

Re^6: ** operator in perl
by chromatic (Archbishop) on Feb 05, 2009 at 00:09 UTC
    Perl 5 and 6 have less in common than Haskell and 6.

    Let's see. Haskell is a pure, lazy, functional language with latent static typing. Perl 6 is an operator-oriented multiple-paradigm language with some laziness guarantees and optional manifest dynamic typing. Perl 5 is an operator-oriented multiple-paradigm language with syntactically-ignored manifest typing.

    I really don't see the Haskell/Perl 6 similarities.

      One example, significant whitespace.

        Name three general purpose programming languages without significant whitespace.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://741419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-09-21 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls