rakudo-star
perl6/rakudo: Problem with writing on the loop-variable
#!perl6 use v6; my $longest = 3; my @list = <a b c d e f>; for @list -> $element is rw { $element = sprintf \"%*.*s\", $longest, $longest, $element;[详细]
2023-02-12 09:33 分类:问答perl6/rakudo: How can I change the data-type of a variable?
#!perl6 use v6; my $m = 70; my $n = 30; ( $m div $n ).say; The first examples works, but the second doesn\'t. I suppose it\'s because in the second example the variable-values are strings. If my g[详细]
2023-02-12 05:25 分类:问答perl6/rakudo: How could I disable autoflush?
I tried this, but it didn\'t开发者_Go百科 work: $*OUT.autoflush( 0 ); $*OUT.autoflush = False should disable it, and it runs without error, but it seems that parrot\'s IO still flushes automatically.[详细]
2023-02-12 00:06 分类:问答Writing perl6 Programs using Rakudo Star: Can't install on OS X
I\'m trying to install Rakudo Star on OS X 10.6, and I\'ve reached the always frustrating point where my build has failed and I\'m not sure how to procede. Does anyone here know a way past this? (I\'m[详细]
2023-01-09 14:38 分类:问答Submit button not focused even though tabindex is properly set
I have defined tab index for the input fields in a form. When tabbing through the input fields the submit button is never getting the focus, some other input fields in a different form on the page get[详细]
2022-12-21 01:31 分类:问答