Rod Adams <[EMAIL PROTECTED]> wrote: > Larry Wall wrote: > > On Sat, Mar 19, 2005 at 11:03:40PM +1100, Andrew Savige wrote: > > > > : 2) Documentation. > > : Where is the slurp built-in documented? I couldn't find it > > : in any of the Synopses (including Rod Adams' recent S29). > > : In desperation, I googled and found CPAN Perl6::Slurp. > > > > The official place for documentation of built-ins is S29. At the > > rate I was going, I was going to get to S29 in two or three years, > > so it's good that Rod is taking that on. I don't recall offhand if > > slurp was discussed much in p6l or whether it was mostly one of those > > cabalistic things. > > I hadn't heard of it being referenced before. But I just added it to the > list of things waiting for S16 to describe the IO/IPC system.
FWIW, `slurp` is mentioned in Exegesis 7: "And, yes, Perl 6 does have a built-in slurp function that takes a filename, opens the file, reads in the entire contents, and returns them as a single string. For more details see the Perl6::Slurp module (now on the CPAN)." -- matt diephouse http://matt.diephouse.com