Skip to content

Commit 7728d81

Browse files
committed
Merge branch 'master' of https://github.com/perl6/doc
2 parents 6edad73 + 89be4fa commit 7728d81

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

META6.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@
4141
"Perl6::Documentable::Registry": "lib/Perl6/Documentable/Registry.pm"
4242
},
4343
"version": "1.001002",
44-
"authors": [
45-
46-
],
44+
"authors": [ "perl6" ],
4745
"description": "Perl 6 documentation (tools and docs)",
4846
"meta6": "0"
4947
}

doc/Language/io-guide.pod6

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,16 @@ $fh.close;
248248
# RIGHT! Use IO::Path to do all the dirty work
249249
my $data = 'foo/bar'.IO.add($file).slurp;
250250
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+
251261
=head2 Stringifying IO::Path
252262
253263
Don't use the C<.Str> method to stringify L«C<IO::Path>|/type/IO::Path» objects,

0 commit comments

Comments
 (0)