Created
May 19, 2016 16:22
Star
You must be signed in to star a gist
Trying to document methods 'IO' and 'SPEC' in IO::Path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =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; # / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment