Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I respond more directly to your post below but first:

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.


In reply to Re^2: Perl 6, arrays, hashes, subroutines & basic file IO by raiph
in thread Re: Perl 6, arrays, hashes, subroutines & basic file IO by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-18 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found