NAME ^

src/builtins/io.pir - Perl6 builtins for I/O

Functions ^

printf

Parses a format string and prints formatted output according to it.

unlink LIST

Deletes a list of files. Returns the number of files successfully deleted.

    $cnt = unlink 'a', 'b', 'c';
Be warned that unlinking a directory can inflict damage on your filesystem. Finally, using unlink on directories is not supported on many operating systems. Use rmdir instead.

It is an error to use bare unlink without arguments.


parrot