File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 41
41
"Perl6::Documentable::Registry" : " lib/Perl6/Documentable/Registry.pm"
42
42
},
43
43
"version" : " 1.001002" ,
44
- "authors" : [
45
-
46
- ],
44
+ "authors" : [ " perl6" ],
47
45
"description" : " Perl 6 documentation (tools and docs)" ,
48
46
"meta6" : " 0"
49
47
}
Original file line number Diff line number Diff line change @@ -248,6 +248,16 @@ $fh.close;
248
248
# RIGHT! Use IO::Path to do all the dirty work
249
249
my $data = 'foo/bar'.IO.add($file).slurp;
250
250
251
+ However, it's fine to use it for things not otherwise provided by L < IO::Path > .
252
+ For example, the L < C « .devnull » method|/routine/devnull> :
253
+
254
+ = for code :skip-test
255
+ {
256
+ temp $*OUT = open :w, $*SPEC.devnull;
257
+ say "In space no one can hear you scream!";
258
+ }
259
+ say "Hello";
260
+
251
261
= head2 Stringifying IO::Path
252
262
253
263
Don't use the C < .Str > method to stringify L « C < IO::Path > |/type/IO::Path» objects,
You can’t perform that action at this time.
0 commit comments