IO - Perl 6 IO class
This file implements the IO file handle class.
- print
- Writes the given list of items to the file.
- say
- Writes the given list of items to the file,
then a newline character.
- printf
- Parses a format string and prints formatted output according to it.
- readline
- Reads a line from the file handle.
- slurp
- Slurp a file into a string.
- eof
- Tests if we have reached the end of the file.
- close
- Closes the file.
- prefix:=(IO $io)
- Gets the iterator for the IO object.
The IOIterator class implements the I/O iterator.