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

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
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.