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 i
> 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 t