File tree Expand file tree Collapse file tree 2 files changed +19
-15
lines changed Expand file tree Collapse file tree 2 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 8
8
"build-depends" : [
9
9
" File::Find"
10
10
],
11
- "depends" : [
12
- " LWP::Simple:ver<0.101+>" ,
13
- " URI" ,
14
- " File::Temp" ,
15
- " JSON::Fast" ,
16
- " Pod::To::BigPage:ver<0.4.0+>" ,
17
- " Pod::To::HTML:ver<0.3.19+>" ,
18
- " OO::Monitors" ,
19
- " File::Find" ,
20
- " Test::META"
11
+ "depends" : [
12
+ " IO::Socket::SSL" ,
13
+ " LWP::Simple:ver<0.101+>" ,
14
+ " URI" ,
15
+ " File::Temp" ,
16
+ " JSON::Fast" ,
17
+ " Pod::To::BigPage:ver<0.4.0+>" ,
18
+ " Pod::To::HTML:ver<0.3.19+>" ,
19
+ " OO::Monitors" ,
20
+ " File::Find" ,
21
+ " Test::META"
21
22
],
22
23
"tags" : [
23
24
" perl6" ," pod6" ," documentation" , " reference"
Original file line number Diff line number Diff line change @@ -304,11 +304,14 @@ Defined as:
304
304
multi sub slurp(IO::Handle:D $fh = $*ARGFILES, |c)
305
305
multi sub slurp(IO() $path, |c)
306
306
307
- Slurps the contents of the entire file into a C < Str > (or C < Buf > if C < :bin > ).
308
- Accepts C < :bin > and C < :enc > optional named parameters, with the same meaning
309
- as L < open()|/routine/open > . The routine will C < fail > if the file does not
310
- exist, or is a directory. Without any arguments, sub C < slurp > operates on
311
- C < $*ARGFILES > , which defaults to C < $*IN > in the absence of any filenames.
307
+ Slurps the contents of the entire file into a C < Str > (or C < Buf > if
308
+ C < :bin > ). Accepts C < :bin > and C < :enc > optional named parameters, with
309
+ the same meaning as L < open()|/routine/open > ; possible encodings are the
310
+ same as in all the other C < IO > methods and are listed in
311
+ L < C < encoding > |/type/IO::Handle#method_encoding> routine. The routine
312
+ will C < fail > if the file does not exist, or is a directory. Without any
313
+ arguments, sub C < slurp > operates on C < $*ARGFILES > , which defaults to
314
+ C < $*IN > in the absence of any filenames.
312
315
313
316
= begin code :skip-test
314
317
# read entire file as (Unicode) Str
You can’t perform that action at this time.
0 commit comments