1Specio::Library::Path::UTsienry(C3o)ntributed Perl DocumSepnetcaitoi:o:nLibrary::Path::Tiny(3)
2
3
4
6 Specio::Library::Path::Tiny - Path::Tiny types and coercions for Specio
7
9 version 0.04
10
12 use Specio::Library::Path::Tiny;
13
14 has path => ( isa => t('Path') );
15
17 This library provides a set of Path::Tiny types and coercions for
18 Specio. These types can be used with Moose, Moo,
19 Params::ValidationCompiler, and other modules.
20
22 This library provides the following types:
23
24 Path
25 A Path::Tiny object.
26
27 Will be coerced from a string or arrayref via "Path::Tiny::path".
28
29 AbsPath
30 A Path::Tiny object where "$path->is_absolute" returns true.
31
32 Will be coerced from a string or arrayref via "Path::Tiny::path"
33 followed by call to "$path->absolute".
34
35 RealPath
36 A Path::Tiny object where "$path->realpath eq $path".
37
38 Will be coerced from a string or arrayref via "Path::Tiny::path"
39 followed by call to "$path->realpath".
40
41 File
42 A Path::Tiny object which is a file on disk according to
43 "$path->is_file".
44
45 Will be coerced from a string or arrayref via "Path::Tiny::path".
46
47 AbsFile
48 A Path::Tiny object which is a file on disk according to
49 "$path->is_file" where "$path->is_absolute" returns true.
50
51 Will be coerced from a string or arrayref via "Path::Tiny::path"
52 followed by call to "$path->absolute".
53
54 RealFile
55 A Path::Tiny object which is a file on disk according to
56 "$path->is_file" where "$path->realpath eq $path".
57
58 Will be coerced from a string or arrayref via "Path::Tiny::path"
59 followed by call to "$path->realpath".
60
61 Dir
62 A Path::Tiny object which is a directory on disk according to
63 "$path->is_dir".
64
65 Will be coerced from a string or arrayref via "Path::Tiny::path".
66
67 AbsDir
68 A Path::Tiny object which is a directory on disk according to
69 "$path->is_dir" where "$path->is_absolute" returns true.
70
71 Will be coerced from a string or arrayref via "Path::Tiny::path"
72 followed by call to "$path->absolute".
73
74 RealDir
75 A Path::Tiny object which is a directory on disk according to
76 "$path->is_dir" where "$path->realpath eq $path".
77
78 Will be coerced from a string or arrayref via "Path::Tiny::path"
79 followed by call to "$path->realpath".
80
82 The vast majority of the code in this distribution comes from David
83 Golden's Types::Path::Tiny distribution.
84
86 Bugs may be submitted through the RT bug tracker
87 <http://rt.cpan.org/Public/Dist/Display.html?Name=Specio-Library-Path-
88 Tiny> (or bug-specio-library-path-tiny@rt.cpan.org <mailto:bug-specio-
89 library-path-tiny@rt.cpan.org>).
90
91 I am also usually active on IRC as 'drolsky' on "irc://irc.perl.org".
92
94 If you'd like to thank me for the work I've done on this module, please
95 consider making a "donation" to me via PayPal. I spend a lot of free
96 time creating free software, and would appreciate any support you'd
97 care to offer.
98
99 Please note that I am not suggesting that you must do this in order for
100 me to continue working on this particular software. I will continue to
101 do so, inasmuch as I have in the past, for as long as it interests me.
102
103 Similarly, a donation made in this way will probably not make me work
104 on this software much more, unless I get so many donations that I can
105 consider working on free software full time (let's all have a chuckle
106 at that together).
107
108 To donate, log into PayPal and send money to autarch@urth.org, or use
109 the button at <http://www.urth.org/~autarch/fs-donation.html>.
110
112 Dave Rolsky <autarch@urth.org>
113
115 This software is Copyright (c) 2016 by Dave Rolsky.
116
117 This is free software, licensed under:
118
119 The Apache License, Version 2.0, January 2004
120
121
122
123perl v5.30.1 2020-01-30 Specio::Library::Path::Tiny(3)