Truncate a file: Difference between revisions
m
→{{header|Perl 6}}: use native type
m (added whitespace before the TOC (table of contents), added other whitespace to the task's preamble.) |
SqrtNegInf (talk | contribs) m (→{{header|Perl 6}}: use native type) |
||
Line 730:
truncate("file", 567);</lang>
=={{header|Perl 6}}==
{{
<lang perl6>use NativeCall;
sub truncate(Str,
sub MAIN (Str $file, Int $to) {
|