Skip to content

Commit 7b0b784

Browse files
committed
This example can't work without modules installed
1 parent 896c9bd commit 7b0b784

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ to work with textual read/write methods and doesn't use the standard C<.open>
918918
method, be sure to call C<.encoding> method in your custom handle to get
919919
decoder/encoder properly set up:
920920
921+
=begin code :skip-test<uses ecosystem modules>
921922
class IO::URL is IO::Handle {
922923
has $.URL is required;
923924
has Buf $!content;
@@ -960,6 +961,7 @@ decoder/encoder properly set up:
960961
# read methods, such as .lines, or .get, or .readchars. All of them work
961962
# correctly, even though we only defined .READ and .EOF
962963
$fh.slurp.say;
964+
=end code
963965
964966
=head2 method WRITE
965967

0 commit comments

Comments
 (0)