Re: write bytes requires an object with REPR MVMOSHandle

2017-09-29 Thread ToddAndMargo
On 09/29/2017 12:22 PM, ToddAndMargo wrote: On Fri, Sep 29, 2017 at 1:49 AM, ToddAndMargo > wrote:     Hi All,     I am stumped.  This only screws up in the for loop.     This is only the chopped up version         #!/usr/bin/env perl6  

Re: write bytes requires an object with REPR MVMOSHandle

2017-09-29 Thread Andy Bach
close ( $SmtpHandle ); } Your indenting has done you wrong - you close the file handle inside the loop for loop, so it closed after the first print. On Fri, Sep 29, 2017 at 1:49 AM, ToddAndMargo wrote: > Hi All, > > I am stumped. This only screws up in the for loop.