Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added doc for methods 'IO' and 'SPEC' in IO::Path. moritz++
  • Loading branch information
Jan-Olof Hendig committed May 19, 2016
1 parent 8c3819e commit 9e95b4e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/Type/IO/Path.pod
Expand Up @@ -367,6 +367,23 @@ deleted. The method form returns C<True> on success, or
L<fails|/routine/fail> with L<X::IO::Unlink> if the operation could not be
completed.
=head2 method IO
method IO(IO::Path:D: --> IO::Path)
Returns the invocant.
=head2 method SPEC
method SPEC(IO::Path:D: --> IO::Spec)
Returns the L<IO::Spec|/type/IO::Spec> object that was (implicitly) specified at object
creation time.
my $io = IO::Path.new("/bin/bash");
say $io.SPEC; # (Unix)
say $IO.SPEC.dir-sep; # /
=head1 File Test operators
X<-e> X<-f>
Expand Down

0 comments on commit 9e95b4e

Please sign in to comment.