in reply to Re^4: In praise of Perl's object system.
in thread In praise of Perl's object system.

I see what your concern is, and it's one I don't share at all.

Just because Perl 6 is a fundamentally object oriented language doesn't mean you have to write classes to use it. Hello World is still just say "Hello World", and not class Hello { public static void main(Array args) { system.out.println("Hello, World"); } }.

In fact Perl 6 can be used quite well as an imperative or even functional language, and most of day to day Perl 6 usage is small, one-off scripts.

I can recommend jnthn's talk Perl 6: For Little Tools and Large Applications.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^6: In praise of Perl's object system.
by xiaoyafeng (Deacon) on Sep 18, 2010 at 14:23 UTC

    Thank moritz and jnthn! The article is fabulous. And the section of for the small tools perfectly answer my question.

    BTW. Native Call Module sounds great. Is it a builtin module of Rakudo? And does perl6 have more powerful mechanism like XS in the future? It seems that S21 has been a little bit stale.




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      NativeCall.pm is included in blizkost, and is installed by default in the Rakudo Star distribution.

      Besides that I don't know anything about the Perl 6 <-> C interaction, but we do want to avoid the XS mess for Perl 6.

Re^6: In praise of Perl's object system.
by Anonymous Monk on Oct 01, 2010 at 16:43 UTC

    Thanks for the link to jnthn's talk! Dunno how I missed that. There should be a link to it on perl6.org/documentation, IMO.

    BTW, noticed what looks like a 2 typos:

    • page 25: no closing single-quote mark at the end
    • page 58: after "destination" there's a '>' and then a small closing french quote mark.