Re: Where is "Subject"?

2017-02-23 Thread Luca Ferrari
On Fri, Feb 24, 2017 at 7:51 AM, ToddAndMargo wrote: > Hi All, > > Am I blind or is there nowhere to set the subject of an eMail > in Net::SMTP? I suspect it is implementing a quite low-level interface: smtp does not know anything about a subject, it simply sends it as a

Re: Where is "Subject"?

2017-02-23 Thread Moritz Lenz
Hi, On 24.02.2017 07:51, ToddAndMargo wrote: > Am I blind or is there nowhere to set the subject of an eMail > in Net::SMTP? > > https://github.com/retupmoca/P6-Net-SMTP You're not blind, just thinking at the wrong level. Net::SMTP expects you to have an email string that contains both the

Where is "Subject"?

2017-02-23 Thread ToddAndMargo
Hi All, Am I blind or is there nowhere to set the subject of an eMail in Net::SMTP? https://github.com/retupmoca/P6-Net-SMTP Many thanks, -T -- ~~~ Serious error. All shortcuts have disappeared. Screen. Mind. Both are blank. ~~~

I am having trouble installing panda

2017-02-23 Thread ToddAndMargo
Hi All, I am having trouble installing "panda" on Fedora Code 25. $ perl6 -v This is Rakudo version 2016.11 built on MoarVM version 2016.11 implementing Perl 6.c. What is going on? Many thanks, -T $ git clone --recursive http://github.com/tadzik/panda.git $ cd panda # perl6 bootstrap.pl

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Darren Duncan
On 2017-02-23 10:00 PM, Joachim Durchholz wrote: Somewhat offtopic: toolforger: p6: say Inf cmp Inf camelia: rakudo-moar 320c2f: OUTPUT: «Same␤» I.e. Inf compares equal to itself - is this intentional? Even if that isn't valid mathematically, for our purposes in a programming language, Inf

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Joachim Durchholz
Somewhat offtopic: toolforger: p6: say Inf cmp Inf camelia: rakudo-moar 320c2f: OUTPUT: «Same␤» I.e. Inf compares equal to itself - is this intentional?

Re: clipboard and ps questions?

2017-02-23 Thread ToddAndMargo
On 02/23/2017 06:08 PM, yary wrote: On Thu, Feb 23, 2017 at 7:09 PM, ToddAndMargo > wrote: But ... it calls xclip (Linux), pbcopy (OS X), or clip (Windows), so you might as well call these programs directly with qx or qqx rather

Re: clipboard and ps questions?

2017-02-23 Thread yary
On Thu, Feb 23, 2017 at 7:09 PM, ToddAndMargo wrote: > But ... it calls xclip (Linux), pbcopy (OS X), or clip (Windows), > so you might as well call these programs directly with qx or qqx > rather than having to use Panda to compile the module > > For instance, under Perl

Re: clipboard and ps questions?

2017-02-23 Thread ToddAndMargo
On 02/17/2017 06:38 PM, ToddAndMargo wrote: Hi All, rakudo-star-0.0.2016.11-1.el7.x86_64 (Linux) Two questions about substitutes for system calls: 1) Is there a reliably Perl 6 way to copy things to the clipboard? (Perl 5 has a module, but it is unreliable and I have to make a

[perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Zoffix Znet via RT
On Wed, 22 Feb 2017 19:32:31 -0800, comdog wrote: > Here's a curious change over in precision: > > > 4.999 ~~ 0..^5 > True > > 4. ~~ 0..^5 > False > > I figure this is an implementation detail that ties to storage, but > one of the selling points of

Re: [perl #130847] perl6 zef not working on windows 7

2017-02-23 Thread Steve Mynott
Try "zef update" S On 23 February 2017 at 14:49, Radek wrote: > # New Ticket Created by Radek > # Please include the string: [perl #130847] > # in the subject line of all future correspondence about this issue. > #

Re: [perl #123434] [SEGV] CounterMutexSingleton sample crashes

2017-02-23 Thread Ryan Bastic
Indeed :) It was just a simple test case to demonstrate some things to ab5tract. Thanks for your work! On Thu, Feb 23, 2017 at 11:53 AM, Timo Paulssen via RT < perl6-bugs-follo...@perl.org> wrote: > Hi, > > we've put in an improved error message for when libuv refuses to create an > eventloop

[perl #130847] perl6 zef not working on windows 7

2017-02-23 Thread via RT
# New Ticket Created by Radek # Please include the string: [perl #130847] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130847 > I want to install perl6 modules. I installed Rakudo Star on windows 7. which perl6

Re: [perl #123434] [SEGV] CounterMutexSingleton sample crashes

2017-02-23 Thread Ryan Bastic
Sounds good! Thanks. On Thu, Feb 23, 2017 at 12:21 PM, Timo Paulssen via RT < perl6-bugs-follo...@perl.org> wrote: > Now the exception also contains the error as reported by libuv: > > timo@schmand /tmp> perl6 CounterMutexSingleton.pl6 --num_threads=253 > Could not create a new Thread:

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Timo Paulssen
Actually, I was mistaken. The code i pointed at there already works for this very case. observe: 131338 timotimo │ m: say 4.999 cmp 5.0 131338 +camelia │ rakudo-moar 1811b8: OUTPUT: «Less␤» The real problem is this implementation of :: multi sub infix:(Real:D \a,

Re: [perl #130845] Some things that are less than 5 aren't

2017-02-23 Thread Timo Paulssen
This is because the implementation of infix:(Rat:D, Rat:D) is kind of bad: multi sub infix:(Rational:D \a, Rational:D \b) is default { a.Num cmp b.Num } We'll have to do a proper comparison of rats, rather than convert to Num which can give wrong results like this. On 23/02/17