Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I'm having some fun playing with compiler, and I'm starting to wonder what the best way to give you feedback would be?

Should I just note what I tried which did not work, such as that any use of a hyper-assignment-operator (e.g. @a ^+= @b; ) causes a runtime exception:

Died at P6C/Util.pm line 72.

Or should I submit it as a testcase? Is there some way to indicate that the test is expected to fail?

output_is(<<'CODE', <<'OUT', "string interpolation"); sub main () { $z = 1; @a = (1..3); $z1 = @a; #currently outputs: z=($z) a=() \=@a=($z1) print "z=($z) a=(@a) \$z1=\@a=($z1)\n"; } CODE z=(1) a=(1 2 3) $z1=@a=(3) OUT
And how to we check if something has already been reported, or what the current plans are to get rid of the sub main() requirement?

You give your email address as the contact point for the compiler, so I guess that means we should send bug reports directly to you. (unless they are disguised as a request for clarification on how to report them...)

One final test case, and I'll stop.

output_is(<<'CODE', <<'OUT', "concatenation chain"); sub main() { @a = (2,4,8); print @a _ "\n"; # OK: 3 print @a ^_ "\n"; # OK: 2\n4\n8\n print @a ^_ "\t" _ "\n"; # BAD: '' print (@a ^_ "\t"); # OK: 2\t4\t8\t print "next\n"; print "--" _ (@a ^_ "\t"); # BAD: -- print "next\n"; print ((@a ^_ "\t") _ "\n"); # BAD: '' print "stop\n"; } CODE 3 2 4 8 2 4 8 2 4 8 next --2 4 8 next 2 4 8 stop OUT

In reply to Re: Wanted: Perl 6 Programmers by sharkey
in thread Wanted: Perl 6 Programmers by educated_foo

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 goofing around in the Monastery: (6)
As of 2024-03-28 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found