Created
May 19, 2016 16:22
-
-
Save dogbert17/18381bf2024f59e38ed10af8914ee1c3 to your computer and use it in GitHub Desktop.
Trying to document methods 'IO' and 'SPEC' in IO::Path
This file contains hidden or 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