File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,10 @@ For a handle opened on a file this returns the L<IO::Path|/type/IO::Path> that
278
278
represents the file. For the standard I/O handles C < $*IN > , C < $*OUT > ,
279
279
and C < $*ERR > it returns an L < IO::Special|/type/IO::Special > object.
280
280
281
+ = head2 method IO
282
+
283
+ Alias for L « C < .path > |/type/IO::Handle#method_path»
284
+
281
285
= for code :skip-test
282
286
say "foo".IO.open.path; # OUTPUT: «"foo".IO»
283
287
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ Pipes can be easily constructed with L<sub run and Proc.new|/type/Proc>.
21
21
22
22
Closes the pipe and returns L < Proc > object from which the pipe originates.
23
23
24
+ = head2 method IO
25
+
26
+ method IO(IO::Pipe: --> IO::Path:U)
27
+
28
+ Returns an L < IO::Path > type object.
29
+
24
30
= head2 method path
25
31
26
32
method path(IO::Pipe: --> IO::Path:U)
You can’t perform that action at this time.
0 commit comments