Re: Raku IO IceDrive bug

2023-11-05 Thread ToddAndMargo via perl6-users
On Oct 22, 2023, at 06:02, ToddAndMargo via perl6-users wrote: spurt "$TestFile", "Old File Found\n"; spurt "$TestFile", "New File Opened\n"; On 11/5/23 12:08, William Michels via perl6-users wrote: > Won't adding a `\n` newline to the `spurt()` call eventually cause > problems? > > What

Re: Raku IO IceDrive bug

2023-11-05 Thread William Michels via perl6-users
Won't adding a `\n` newline to the `spurt()` call eventually cause problems? What happens if you omit the `\n` below? Best, Bill. > On Oct 22, 2023, at 06:02, ToddAndMargo via perl6-users > wrote: > > spurt "$TestFile", "Old File Found\n"; > spurt "$TestFile", "New File Opened\n";

Re: Raku IO IceDrive bug

2023-10-21 Thread Ralph Mellor
Hi again. :) Let me try again. I'll try cover things more clearly. #1 There was/is a bug in your code, or at least code that you say isn't working on your system. (It works on glot.io. See #3) ``` $WanIpFileName.IO.open(:w); spurt "$WanIpFileName", "New File Opened"; ``` These two lines

Re: Raku IO IceDrive bug

2023-10-16 Thread ToddAndMargo via perl6-users
On 10/16/23 06:54, Ralph Mellor wrote: if not FileExists( $WanIpFileName ) { $WanIpFileName.IO.open(:w); spurt "$WanIpFileName", "New File Opened"; } Afaik, depending on how you choose to look at things, there's a doc error (doc for `spurt` doesn't mention that it opens the file

Re: Raku IO IceDrive bug

2023-10-16 Thread Ralph Mellor
> if not FileExists( $WanIpFileName ) { > $WanIpFileName.IO.open(:w); > spurt "$WanIpFileName", "New File Opened"; > } Afaik, depending on how you choose to look at things, there's a doc error (doc for `spurt` doesn't mention that it opens the file it's spurting to), and/or behavior due

Raku IO IceDrive bug

2023-10-09 Thread ToddAndMargo via perl6-users
Hi All, Windows 10 22H2 Windows 11 22H2 RakudoMoar-2023.09.01-win-x86_64-msvc.msi https://github.com/AntonOks/rakudo-star-win/releases Note: zef requires git An IO bug with Windows Ice Drive to report. (I no longer report them the the bug reporter as I have zero luck.) Ice Drive is a cloud