file: potd.p6 19: my $template = template( $date ); 20: spurt $target_txt, $template, :createonly; 21: shell "vim $target_txt";
spurt() writes data to a file