programming-examples/perl/File/To open a file for reading and writing.pl
2019-11-15 12:59:38 +01:00

2 lines
136 B
Raku

open(FH, "+<filename"); # Opens "filename" for read, then write.
open(FH, "+>filename"); # Opens "filename" for write, then read.