Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Perl 6, arrays, hashes, subroutines & basic file IO

by raiph (Hermit)
on Oct 16, 2013 at 15:44 UTC ( #1058478=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl 6, arrays, hashes, subroutines & basic file IO

If you really want to contribute to development of Perl 6 (as opposed to development with Perl 6) for the next couple years, then fantastic -- welcome aboard!

If you just want to use Perl to get stuff done then I strongly recommend you try to use Perl 5 instead. Perl 5 is considered by many to be a great tool for bioinformatics. In contrast Perl 6 is immature in many regards including not yet being able to use most Perl 5 code including almost all of the critically important CPAN.

This site (PerlMonks) is almost entirely about Perl 5. You're in the right place if your focus is using or developing Perl 5. In contrast, for now, Perl 6 users and developers are generally better off visiting the IRC channel #perl6 on freenode.

On #perl6 you'll find p6 experts happy to help beginners most hours of the day. Start by verifying that you have an up to date Perl 6 (#perl6ers will show you how to check) and then explain to #perl6 what you want to do with Perl 6 long term and what you are trying to do with the code you've quoted.


In case it helps I'll cover a couple things here at PerlMonks. Running your code as it is with a current Rakudo Perl 6 errors out with:

SORRY!
===
Error while compiling
Malformed initializer at ------> $aa = ;

Fixing that and recompiling gives:

invoke() not implemented in class 'X'

So, what is X? To see the gist of something use .gist:

.print for X.gist

which returns:

(X)

This is the gist of package X i.e. not what you meant. So, time to visit #perl6. :)

Hth.


Comment on Re^2: Perl 6, arrays, hashes, subroutines & basic file IO

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-09-23 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (210 votes), past polls