Files
pkgsrc-ng/devel/p5-Perl6-Slurp/DESCR
T
2013-09-26 17:14:40 +02:00

12 lines
282 B
Plaintext

slurp takes:
* a filename,
* a filehandle,
* a typeglob reference,
* an IO::File object, or
* a scalar reference,
converts it to an input stream if necessary, and reads in the entire
stream. If slurp fails to set up or read the stream, it throws an
exception.