summaryrefslogtreecommitdiff
path: root/devel/p5-Perl6-Slurp/DESCR
blob: 69e4834812f94b9edc81d5469871a06f0a406662 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.