Re: [retupmoca/P6-Net-SMTP] RFE: attachments (#14)

2017-07-11 Thread ToddAndMargo
Hi Timo, Part of the issue was that my firewall did not like my smtp port, so I chose another one. And I got it working as soon as I understood the headers. Email::MIME.create( header => [ "Content-Transfer-Encoding" => "base64" ], attributes => [ content-type => "application/zip;

Re: Net::SMTP raw, where is the username and password?

2017-07-11 Thread ToddAndMargo
On 07/10/2017 02:18 PM, ToddAndMargo wrote: On 07/10/2017 12:31 PM, Timo Paulssen wrote: Did you read my very long post on the Net::SMTP issue you opened? I will shortly when I get some programming time. It arrived in my eMail and I have it bolded and tagged red. Thank you! Hi Timo,

Re: [retupmoca/P6-Net-SMTP] RFE: attachments (#14)

2017-07-11 Thread ToddAndMargo
Hi Timo, Part of the issue was that my firewall did not like my smtp port, so I chose another one. And I got it working as soon as I understood the headers. Email::MIME.create( header => [ "Content-Transfer-Encoding" => "base64" ], attributes => [ content-type => "application/zip;

Re: clone and deep copy of arrays

2017-07-11 Thread Andrew Kirkpatrick
I presume that this is somewhat accurate: https://rosettacode.org/wiki/Deepcopy#Perl_6 On 11 July 2017 at 19:56, Gabor Szabo wrote: > Hi, > > I wonder what does .clone do and how can I create a deep copy or deep > clone of an array? > > Reading

[perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread Zoffix Znet via RT
> need to check if IO.volume is defined Forgot to mention: .volume is always defined; it's just an empty string on systems/paths without a volume. Also, .volume, .basename, and .dirname are all available in a Map from the .parts method, so alternative way to write what you wanted could be:

[perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread Zoffix Znet via RT
> need to check if IO.volume is defined Forgot to mention: .volume is always defined; it's just an empty string on systems/paths without a volume. Also, .volume, .basename, and .dirname are all available in a Map from the .parts method, so alternative way to write what you wanted could be:

[perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread Zoffix Znet via RT
On Tue, 11 Jul 2017 07:21:06 -0700, jar...@viidakko.fi wrote: > So if this is the case then I just need to check if IO.volume is defined and > add that to path before calling IO.absolute Sounds like what you really want is .parent ( https://docs.perl6.org/type/IO::Path#method_parent ):

[perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread Zoffix Znet via RT
On Tue, 11 Jul 2017 07:21:06 -0700, jar...@viidakko.fi wrote: > So if this is the case then I just need to check if IO.volume is defined and > add that to path before calling IO.absolute Sounds like what you really want is .parent ( https://docs.perl6.org/type/IO::Path#method_parent ):

Re: [perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread Elizabeth Mattijsen via RT
> On 11 Jul 2017, at 15:34, Jarkko Haapalainen (via RT) > wrote: > > # New Ticket Created by Jarkko Haapalainen > # Please include the string: [perl #131737] > # in the subject line of all future correspondence about this issue. > #

Re: [perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread Elizabeth Mattijsen
> On 11 Jul 2017, at 15:34, Jarkko Haapalainen (via RT) > wrote: > > # New Ticket Created by Jarkko Haapalainen > # Please include the string: [perl #131737] > # in the subject line of all future correspondence about this issue. > #

[perl #131737] [BUG] WindowsOS: IO.dirname strips off drive name

2017-07-11 Thread via RT
# New Ticket Created by Jarkko Haapalainen # Please include the string: [perl #131737] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131737 > Problems running Perl6 programs on network drive and when using IO.dirname. File

clone and deep copy of arrays

2017-07-11 Thread Gabor Szabo
Hi, I wonder what does .clone do and how can I create a deep copy or deep clone of an array? Reading https://docs.perl6.org/type/Array#method_clone I don't understand what does it do as the example there works without clone as well: suggest I'd need a > my @a = (1, 2, 3) [1 2 3] > my @b = @a;