[perl #130898] [BUG] IO::Spec confused by diacritics

2017-03-01 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #130898] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130898 > This transaction appears to have no content binJynsGD8icW.bin Description: Binary data

Re: Graphical Toolkits

2017-03-01 Thread The Holy Ghost
On Thu, Aug 25, 2016 at 11:30:38AM +0200, Kaare Rasmussen wrote: > Hi > > ISTM that right now the only option if you want to develop a graphical > desktop application is GTK. At least it seems to be the only one on the > modules list. You may very well correct me if I'm wrong. > You can use

[perl6/specs] eccde7: Reword requirem,ents for idea submitions

2017-03-01 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: eccde7873add6afbe6892a8ee9fadd85db3e6538 https://github.com/perl6/specs/commit/eccde7873add6afbe6892a8ee9fadd85db3e6538 Author: Zoffix Znet Date: 2017-02-28 (Tue, 28

[perl #130889] perl6 can't find file it just created

2017-03-01 Thread via RT
# New Ticket Created by A. Sinan Unur # Please include the string: [perl #130889] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130889 > This is on Windows 10 using MoarVM, NQP, and perl6 built using Visual Studio 2015

[perl #130895] [SINK] `when` fails to sink stuff when it's not in a `given`

2017-03-01 Thread Zoffix Znet via RT
Sorry, wrong example of failure mode. It seems to happen in `while`: m: while $++ < 5 { when {True} {Failure.new} } rakudo-moar 9d497e: ( no output )

[perl #130895] [SINK] `when` fails to sink stuff when it's not in a `given`

2017-03-01 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130895] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130895 > 23:20 m: given 42 { when *.so {Failure.new} } 23:20 camelia rakudo-moar

Re: [perl #130892] t\spec\S32-io\IO-Socket-INET.t hangs

2017-03-01 Thread A. Sinan Unur
I have observed this before (including with the 2017.01 release), but most recently today after building from a fresh pull. $ perl6 -v This is Rakudo version 2017.02-140-gdd1dab2 built on MoarVM version 2017.02-20-g773711e implementing Perl 6.c. $ nqp -v This is nqp version 2017.02-39-g2780ed7

Re: Net::SMTP attachments?

2017-03-01 Thread Brandon Allbery
Hm, I left out what are probably the most important parts. 1. The number one complaint I hear about CPAN is more or less the same story I just told about trying to buy a radio. 2. We organize finding stuff for engineers --- the folks who work with the parts. We don't do very much for the folks

Re: Net::SMTP attachments?

2017-03-01 Thread Brandon Allbery
That's why I said "bury". The basic problem here is a conflict between a mindset that builds stuff up from smaller parts, and the needs of people who need to use the higher level stuff. Building up from components is good for many reasons. But people who want to buy a car don't expect to be

Re: Net::SMTP attachments?

2017-03-01 Thread Bennett Todd
Well, tastes can reasonably differ on that point. Bunging all of the complexity, of implementation, of design tradeoffs, and of documentation, into one big module might suit some tastes. Not mine, as either an implementor or a user. Not all uses need all components, and I for myself would

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On 03/01/2017 01:27 PM, Brandon Allbery wrote: On Tue, Feb 28, 2017 at 4:04 PM, ToddAndMargo > wrote: Anyone know how to do an attachment with Net::SMTP. Didn't you ask that a couple months ago, and I told you to look for a MIME

[perl #130892] t\spec\S32-io\IO-Socket-INET.t hangs

2017-03-01 Thread Zoffix Znet via RT
Hi, would you please include the version you're using?. You can get it by running `perl6 -v`

Re: Net::SMTP attachments?

2017-03-01 Thread Brandon Allbery
On Tue, Feb 28, 2017 at 4:04 PM, ToddAndMargo wrote: > Anyone know how to do an attachment with Net::SMTP. Didn't you ask that a couple months ago, and I told you to look for a MIME module? I am starting to think that Net::SMTP and other low level modules need to be

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On 03/01/2017 12:03 PM, yary wrote: On Wed, Mar 1, 2017 at 3:01 PM, yary > wrote: On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo > wrote: MIME::Lite Sorry not MIME::Lite but "a

Re: Net::SMTP attachments?

2017-03-01 Thread yary
On Wed, Mar 1, 2017 at 3:01 PM, yary wrote: > On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo > wrote: > >> MIME::Lite > > Sorry not MIME::Lite but "a number of alternatives, like Email::MIME or MIME::Entity and Email::Sender, which you should probably use

Re: Net::SMTP attachments?

2017-03-01 Thread yary
On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo wrote: > MIME::Lite That's the key- use MIME::Lite to build the headers and body of an email that has an attachment. Then use Net::SMTP, either the perl5 or perl6 version, to send it. SMTP knows nothing about attachments.

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On Tue, Feb 28, 2017 at 10:04 PM, ToddAndMargo > wrote: Hi All, Anyone know how to do an attachment with Net::SMTP. I need to attach a tar ball. I see this is Thunderbird's message source, but ..

[perl #130892] t\spec\S32-io\IO-Socket-INET.t hangs

2017-03-01 Thread via RT
# New Ticket Created by A. Sinan Unur # Please include the string: [perl #130892] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130892 > When running `nmake spectest` with a development snapshot build of MoarVM, NQP, and

[perl #127403] [BUG] [WEIRD] Matching over 256 items yields wrong results, sometimes

2017-03-01 Thread Zoffix Znet via RT
I went to write a test for this, but can't repoduce the issue. I tried a handful of releases with the IRC bot, then built 2016.01 release and the mentioned 86a90be commit, but none of them fail. Perhaps this is an OSX-only issue? Could someone with OSX try reproing it on 86a90be commit and if

Re: pod question

2017-03-01 Thread mt1957
On 03/01/2017 03:50 PM, Will Coleda wrote: Not true, '=for' is part of POD6. See below. If you're getting errors, it's helpful to reduce the example to a reasonably small bit of code that duplicates the same error; either you'll realize the issue as you remove unrelated bits of code, or you'll

Re: pod question

2017-03-01 Thread Will Coleda
Not true, '=for' is part of POD6. See below. If you're getting errors, it's helpful to reduce the example to a reasonably small bit of code that duplicates the same error; either you'll realize the issue as you remove unrelated bits of code, or you'll end up with an example that epitomizes the

pod question

2017-03-01 Thread mt1957
Hi, Is it true that the '=for' is taken out of the pod language? I get errors when I use it. It should take the line and the next lines as a block. I've also seen that it has the same effect now when I don't use it. Regards, Marcel

Search & replace binary data

2017-03-01 Thread Fernando Santagata
Hi, In Perl5 one can do a search and replace on binary data. Something like this works fine: perl -pe 's/abc/def/' data > data.out The Perl6 straight equivalent perl6 -pe 's/abc/def/' data > data.out throws an exception: Malformed UTF-8 in block at -e line 1 which is completely

Re: Net::SMTP attachments?

2017-03-01 Thread Fernando Santagata
Hi, Net::SMTP manages the SMTP protocol: the email transfer from one server to the next one; it doesn't "build" an email. As far as I can see, there's no Perl6 module to create a MIME email, such as the MIME::Lite Perl5 module. This doesn't mean that there's no way to do that using Perl6: you

Re: for loop index question

2017-03-01 Thread Todd Chester
On 02/28/2017 11:06 PM, Andrew Kirkpatrick wrote: The zip operator in this case takes two sequences and interleaves them into a single sequence. It might be useful if you have handy or can generate a list of keys and a list of values you want to put together in pairs using => to create a hash

Re: for loop index question

2017-03-01 Thread Todd Chester
On 03/01/2017 12:45 AM, Richard Hainsworth wrote: Todd, As Andrew explained Z takes two arrays and an operator, eg. =>, or +, and then 'runs' the operator on the elements of the two lists. Here, you defined @x as a list of strings. I defined two lists, one of keys and one of values. Then I

Re: for loop index question

2017-03-01 Thread Richard Hainsworth
Todd, As Andrew explained Z takes two arrays and an operator, eg. =>, or +, and then 'runs' the operator on the elements of the two lists. Here, you defined @x as a list of strings. I defined two lists, one of keys and one of values. Then I zipped the two together with the => operator that