Skip to content

Commit a8dd445

Browse files
committed
Add paragraph about IO::Path subclasses
1 parent c4a4fc1 commit a8dd445

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

S32-setting-library/IO.pod

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Synopsis 32: Setting Library - IO
2424

2525
Created: 19 Feb 2009
2626

27-
Last Modified: 23 Sep 2014
28-
Version: 24
27+
Last Modified: 29 Sep 2014
28+
Version: 25
2929

3030
=head1 Overview
3131

@@ -1055,6 +1055,16 @@ rather than words themselves. By default, words will be returned.
10551055

10561056
=back
10571057

1058+
=head3 Subclasses
1059+
1060+
The C<IO::Path> class may have C<IO::Spec> specific subclasses. But basically,
1061+
these would only implicitely specify the C<IO::Class> to be specified for
1062+
the C<.new> method:
1063+
1064+
class IO::Path::Win32 {
1065+
method new(|c) { IO::Path.new(|c, :SPEC(IO::Spec::Win32) }
1066+
}
1067+
10581068
=head2 IO::Handle
10591069

10601070
class IO::Handle does IO { ... }

0 commit comments

Comments
 (0)