File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ writing the data to the file and closing it again for us:
64
64
65
65
spurt "testfile", "data and stuff\n";
66
66
67
- By default all (text) files are written as UTF-8, however if necessary, one
68
- can explicitly specify an encoding via the C < :enc > option:
67
+ By default all (text) files are written as UTF-8, however if necessary, an
68
+ explicit encoding can be specified via the C < :enc > option:
69
69
70
70
spurt "testfile", "latin1 text: äöüß", enc => "latin1";
71
71
72
- To append to a file, one can specify the C < :a > option when opening the file
73
- handle explicitly,
72
+ To append to a file, specify the C < :a > option when opening the file handle
73
+ explicitly,
74
74
75
75
my $fh = open "testfile", :a;
76
76
$fh.print("more data\n");
You can’t perform that action at this time.
0 commit comments