Skip to content

Commit

Permalink
Adds dependence to avoid test error
Browse files Browse the repository at this point in the history
Also adds links and some explanations. This closes Raku#2383 closes Raku#2385
  • Loading branch information
JJ committed Oct 16, 2018
1 parent 912fdf7 commit d4b482b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
21 changes: 11 additions & 10 deletions META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
"build-depends": [
"File::Find"
],
"depends": [
"LWP::Simple:ver<0.101+>",
"URI",
"File::Temp",
"JSON::Fast",
"Pod::To::BigPage:ver<0.4.0+>",
"Pod::To::HTML:ver<0.3.19+>",
"OO::Monitors",
"File::Find",
"Test::META"
"depends": [
"IO::Socket::SSL",
"LWP::Simple:ver<0.101+>",
"URI",
"File::Temp",
"JSON::Fast",
"Pod::To::BigPage:ver<0.4.0+>",
"Pod::To::HTML:ver<0.3.19+>",
"OO::Monitors",
"File::Find",
"Test::META"
],
"tags": [
"perl6","pod6","documentation", "reference"
Expand Down
13 changes: 8 additions & 5 deletions doc/Type/IO.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,14 @@ Defined as:
multi sub slurp(IO::Handle:D $fh = $*ARGFILES, |c)
multi sub slurp(IO() $path, |c)
Slurps the contents of the entire file into a C<Str> (or C<Buf> if C<:bin>).
Accepts C<:bin> and C<:enc> optional named parameters, with the same meaning
as L<open()|/routine/open>. The routine will C<fail> if the file does not
exist, or is a directory. Without any arguments, sub C<slurp> operates on
C<$*ARGFILES>, which defaults to C<$*IN> in the absence of any filenames.
Slurps the contents of the entire file into a C<Str> (or C<Buf> if
C<:bin>). Accepts C<:bin> and C<:enc> optional named parameters, with
the same meaning as L<open()|/routine/open>; possible encodings are the
same as in all the other C<IO> methods and are listed in
L<C<encoding>|/type/IO::Handle#method_encoding> routine. The routine
will C<fail> if the file does not exist, or is a directory. Without any
arguments, sub C<slurp> operates on C<$*ARGFILES>, which defaults to
C<$*IN> in the absence of any filenames.
=begin code :skip-test
# read entire file as (Unicode) Str
Expand Down

0 comments on commit d4b482b

Please sign in to comment.