The following script leaves and epty 'data.txt' behind. Only if I call $fh.close is the file contents saved.
Is this a feature? use v6; my $fh = open 'data.txt', :w; $fh.print("hello\n"); Gabor
The following script leaves and epty 'data.txt' behind. Only if I call $fh.close is the file contents saved.
Is this a feature? use v6; my $fh = open 'data.txt', :w; $fh.print("hello\n"); Gabor