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

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 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 ..

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

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

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

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