Why not try crafting those and posting the attempts?
I'm not sure that answer makes sense here. If I was asking how to write something substantial, or even just something novel that requires a few lines of code, then it makes sense to ask me try things and post. But I'm just expressing a little curiosity about some rudimentary features of the language -- nearly trivial things to use as a reference point comparing how you'd do them in other languages. And also, making a thread about "Is this what an array looks like in Perl 6?" would probably not be of much general interest.
Yeah, I guess I could start poring over the Synopses and figuring them out. But at that point I'd have invested some substantial time when all I really had been curious about was what the Perl 6 rudiments looked like.
I guess I'm your typical "on the fence customer". If I can quickly see how easy things are easily done in Perl 6, then maybe I'll put in some time and give it a try. But at the moment, Perl 5 is working for me, and it's not easy to make free time, so I'll probably pass.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||