Hi,
It sounds like the file is non UTF-8, in a French locale (probably
ISO-885901, Windows-1252, or the mac equivalent) but you are trying to
load it as UTF-8 (which may well be the default).
I suspect if you save the text file as UTF-8 and try again it'll work.
Lyle
On 12/08/2015 16:32,
Hi,
I'm looking for single threaded coroutines in perl6. Will hyper/race make them
possible?
Will 2015 production Rakudo include async IO?
Right now I'm considering golang for scalable websocket service, but also
wonder if perl6 would
(and how) make such thing possible.
ps. I would very much
# New Ticket Created by Lloyd Fournier
# Please include the string: [perl #125808]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125808 >
# lib/Foo.pm
use Test;
sub EXPORT {
say GLOBAL.^name; #-> NQPMu
say Test; #
In an earlier thread of mine on this list seeking help, Liz mentioned
one string method that has now been dcoumented, 'substr-rw', which
allows in-place modification of a string variable.
In my journey with Perl 6 I have enjoyed the string 'trim' method so I
can do this:
my $s = ' blah ';
$
Correct me if I'm wrong, can't you do
$s .= trim
?
On 12:45pm, Fri, 14 Aug 2015 Tom Browder wrote:
> In an earlier thread of mine on this list seeking help, Liz mentioned
> one string method that has now been dcoumented, 'substr-rw', which
> allows in-place modification of a string variable.
>
On Fri, Aug 14, 2015 at 6:48 AM, Philip Hazelden
wrote:
> Correct me if I'm wrong, can't you do
>
> $s .= trim
Um, I saw that usage in an earlier thread but didn't try it because it
didn't "look right" given my experience with the ".=" operator as I'm
used to it. (Note I have now seen that behavi
On Fri, Aug 14, 2015 at 8:07 AM, Tom Browder wrote:
> But I've tried it and it works (but the syntax still bothers me for
> now). Note that the same behavior applies to the 'substr' string
> method so that begs the question of why is the 'substr-rw' method
> justified and 'trim-rw' not? It seem
On Aug 14, 2015 8:46 AM, "Brandon Allbery" wrote:
> On Fri, Aug 14, 2015 at 8:07 AM, Tom Browder wrote:
...
>> now). Note that the same behavior applies to the 'substr' string
>> method so that begs the question of why is the 'substr-rw' method
>> justified and 'trim-rw' not? It seems at first
On 08/14/2015 12:04 PM, Matija Papec wrote:
> Hi,
>
> I'm looking for single threaded coroutines in perl6. Will hyper/race make
> them possible?
> Will 2015 production Rakudo include async IO?
>
> Right now I'm considering golang for scalable websocket service, but also
> wonder if perl6 would
>
I added a test with commit d2d4f7a9.
In comments to PR 487 it was suggested to make the error message even better by
mentioning .ACCEPTS
(https://github.com/rakudo/rakudo/pull/487#issuecomment-127776087).
Should we leave the ticket open until someone does that or is the ticket
closeable?
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125811]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125811 >
m: say 2 ** 999
rakudo-moar ab73b0: OUTPUT«0»
That'
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125812]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125812 >
Code:
with(1) { }
Result:
===SORRY!=== Error while compiling ./test.pl
Unexpected bloc
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125813]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125813 >
Code:
say ('a' x 970).IO.open;
Result:
Failed to open file
/home/alex/perl6test/aa
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125814]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125814 >
Code:
say 'xx'.chop().perl;
say 'xx'.ch
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125815]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125815 >
You can put any negative number (even -Inf) and it will not die:
m: say 'foo foo foo'
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125816]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125816 >
First part is OK, but once we start increasing the number it falls apart.
say "x".inde
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125817]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125817 >
Code:
say chr 999;
Result:
chr codepoint cannot be negative
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125818]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125818 >
Code:
say Inf.base(16)
Result:
Type check failed in assignment to '$int_part'; expecte
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125819]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125819 >
Code:
say 255.base(16, -100);
Result:
FF.
Docs say (http://doc.perl6.org/routine/base
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125820]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125820 >
Code:
say .roll(-9).perl;
Result:
it h
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125821]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125821 >
Code:
say .rotate(Inf);
Result:
Earlier failures:
No zero-arg meaning for infix:<%>
21 matches
Mail list logo