exiftool-vendored.exe 12.82.0 → 12.82.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/README.md +6 -0
  2. package/bin/exiftool.exe +0 -0
  3. package/bin/exiftool_files/Licenses_Strawberry_Perl.zip +0 -0
  4. package/bin/exiftool_files/lib/Archive/Zip/Archive.pm +399 -65
  5. package/bin/exiftool_files/lib/Archive/Zip/DirectoryMember.pm +1 -1
  6. package/bin/exiftool_files/lib/Archive/Zip/FileMember.pm +1 -1
  7. package/bin/exiftool_files/lib/Archive/Zip/Member.pm +499 -195
  8. package/bin/exiftool_files/lib/Archive/Zip/NewFileMember.pm +1 -1
  9. package/bin/exiftool_files/lib/Archive/Zip/StringMember.pm +2 -2
  10. package/bin/exiftool_files/lib/Archive/Zip/ZipFileMember.pm +79 -20
  11. package/bin/exiftool_files/lib/Archive/Zip.pm +179 -29
  12. package/bin/exiftool_files/lib/AutoLoader.pm +453 -0
  13. package/bin/exiftool_files/lib/B/Deparse.pm +209 -137
  14. package/bin/exiftool_files/lib/B.pm +1 -1
  15. package/bin/exiftool_files/lib/Benchmark.pm +1123 -0
  16. package/bin/exiftool_files/lib/Class/Struct.pm +2 -2
  17. package/bin/exiftool_files/lib/Compress/Raw/Bzip2.pm +14 -9
  18. package/bin/exiftool_files/lib/Compress/Raw/Lzma.pm +982 -0
  19. package/bin/exiftool_files/lib/Compress/Raw/Zlib.pm +91 -86
  20. package/bin/exiftool_files/lib/Compress/Zlib.pm +105 -100
  21. package/bin/exiftool_files/lib/Config.pm +9 -9
  22. package/bin/exiftool_files/lib/Config_heavy.pl +36 -33
  23. package/bin/exiftool_files/lib/CryptX.pm +2 -82
  24. package/bin/exiftool_files/lib/Data/Dumper.pm +2 -2
  25. package/bin/exiftool_files/lib/Digest/MD5.pm +12 -9
  26. package/bin/exiftool_files/lib/Digest/Perl/MD5.pm +1 -191
  27. package/bin/exiftool_files/lib/Digest/base.pm +26 -20
  28. package/bin/exiftool_files/lib/DynaLoader.pm +7 -4
  29. package/bin/exiftool_files/lib/Encode.pm +3 -3
  30. package/bin/exiftool_files/lib/Errno.pm +13 -13
  31. package/bin/exiftool_files/lib/Exporter/Heavy.pm +2 -2
  32. package/bin/exiftool_files/lib/Exporter.pm +1 -1
  33. package/bin/exiftool_files/lib/ExtUtils/Command/MM.pm +323 -0
  34. package/bin/exiftool_files/lib/ExtUtils/Command.pm +382 -0
  35. package/bin/exiftool_files/lib/File/Find.pm +1 -1
  36. package/bin/exiftool_files/lib/File/Glob.pm +1 -8
  37. package/bin/exiftool_files/lib/File/GlobMapper.pm +2 -2
  38. package/bin/exiftool_files/lib/File/HomeDir/Darwin/Carbon.pm +2 -40
  39. package/bin/exiftool_files/lib/File/HomeDir/Darwin/Cocoa.pm +2 -34
  40. package/bin/exiftool_files/lib/File/HomeDir/Darwin.pm +2 -28
  41. package/bin/exiftool_files/lib/File/HomeDir/Driver.pm +2 -35
  42. package/bin/exiftool_files/lib/File/HomeDir/FreeDesktop.pm +2 -62
  43. package/bin/exiftool_files/lib/File/HomeDir/MacOS9.pm +2 -53
  44. package/bin/exiftool_files/lib/File/HomeDir/Test.pm +2 -43
  45. package/bin/exiftool_files/lib/File/HomeDir/Unix.pm +2 -53
  46. package/bin/exiftool_files/lib/File/HomeDir/Windows.pm +2 -69
  47. package/bin/exiftool_files/lib/File/HomeDir.pm +5 -416
  48. package/bin/exiftool_files/lib/File/Path.pm +3 -3
  49. package/bin/exiftool_files/lib/File/Spec/Win32.pm +2 -2
  50. package/bin/exiftool_files/lib/File/Temp.pm +70 -35
  51. package/bin/exiftool_files/lib/File/Which.pm +1 -240
  52. package/bin/exiftool_files/lib/File/stat.pm +3 -2
  53. package/bin/exiftool_files/lib/IO/Compress/Adapter/Bzip2.pm +16 -17
  54. package/bin/exiftool_files/lib/IO/Compress/Adapter/Deflate.pm +19 -20
  55. package/bin/exiftool_files/lib/IO/Compress/Base/Common.pm +5 -5
  56. package/bin/exiftool_files/lib/IO/Compress/Base.pm +35 -26
  57. package/bin/exiftool_files/lib/IO/Compress/Brotli.pm +159 -0
  58. package/bin/exiftool_files/lib/IO/Compress/Bzip2.pm +50 -25
  59. package/bin/exiftool_files/lib/IO/Compress/Gzip/Constants.pm +6 -6
  60. package/bin/exiftool_files/lib/IO/Compress/Gzip.pm +58 -32
  61. package/bin/exiftool_files/lib/IO/Compress/RawDeflate.pm +63 -38
  62. package/bin/exiftool_files/lib/IO/Compress/Zlib/Extra.pm +20 -20
  63. package/bin/exiftool_files/lib/IO/Dir.pm +1 -1
  64. package/bin/exiftool_files/lib/IO/File.pm +1 -1
  65. package/bin/exiftool_files/lib/IO/Handle.pm +1 -21
  66. package/bin/exiftool_files/lib/IO/Pipe.pm +1 -1
  67. package/bin/exiftool_files/lib/IO/Seekable.pm +1 -1
  68. package/bin/exiftool_files/lib/IO/Select.pm +16 -2
  69. package/bin/exiftool_files/lib/IO/Socket/INET.pm +14 -9
  70. package/bin/exiftool_files/lib/IO/Socket/UNIX.pm +17 -1
  71. package/bin/exiftool_files/lib/IO/Socket.pm +474 -126
  72. package/bin/exiftool_files/lib/IO/String.pm +425 -0
  73. package/bin/exiftool_files/lib/IO/Uncompress/Adapter/Inflate.pm +13 -14
  74. package/bin/exiftool_files/lib/IO/Uncompress/Base.pm +142 -132
  75. package/bin/exiftool_files/lib/IO/Uncompress/Brotli.pm +119 -0
  76. package/bin/exiftool_files/lib/IO/Uncompress/Gunzip.pm +43 -37
  77. package/bin/exiftool_files/lib/IO/Uncompress/RawInflate.pm +49 -43
  78. package/bin/exiftool_files/lib/IO.pm +2 -2
  79. package/bin/exiftool_files/lib/List/Util.pm +97 -8
  80. package/bin/exiftool_files/lib/MIME/Base64.pm +5 -5
  81. package/bin/exiftool_files/lib/MIME/Charset/_Compat.pm +106 -0
  82. package/bin/exiftool_files/lib/MIME/Charset.pm +1303 -0
  83. package/bin/exiftool_files/lib/Math/BigFloat.pm +444 -27
  84. package/bin/exiftool_files/lib/Math/BigInt/Calc.pm +296 -313
  85. package/bin/exiftool_files/lib/Math/BigInt/FastCalc.pm +1 -1
  86. package/bin/exiftool_files/lib/Math/BigInt/GMP.pm +2 -115
  87. package/bin/exiftool_files/lib/Math/BigInt/LTM.pm +2 -24
  88. package/bin/exiftool_files/lib/Math/BigInt/Lib.pm +61 -32
  89. package/bin/exiftool_files/lib/Math/BigInt.pm +292 -107
  90. package/bin/exiftool_files/lib/POSIX.pm +1 -1
  91. package/bin/exiftool_files/lib/PerlIO/scalar.pm +41 -0
  92. package/bin/exiftool_files/lib/PerlIO.pm +397 -0
  93. package/bin/exiftool_files/lib/Portable/CPAN.pm +94 -94
  94. package/bin/exiftool_files/lib/Portable/Config.pm +94 -94
  95. package/bin/exiftool_files/lib/Portable/FileSpec.pm +180 -180
  96. package/bin/exiftool_files/lib/Portable/HomeDir.pm +110 -110
  97. package/bin/exiftool_files/lib/Portable/LoadYaml.pm +430 -430
  98. package/bin/exiftool_files/lib/Portable/minicpan.pm +55 -55
  99. package/bin/exiftool_files/lib/Portable.pm +246 -320
  100. package/bin/exiftool_files/lib/Scalar/Util.pm +9 -4
  101. package/bin/exiftool_files/lib/Socket.pm +16 -12
  102. package/bin/exiftool_files/lib/Storable.pm +1444 -1441
  103. package/bin/exiftool_files/lib/TAP/Base.pm +133 -0
  104. package/bin/exiftool_files/lib/TAP/Formatter/Base.pm +467 -0
  105. package/bin/exiftool_files/lib/TAP/Formatter/Color.pm +116 -0
  106. package/bin/exiftool_files/lib/TAP/Formatter/Console/ParallelSession.pm +201 -0
  107. package/bin/exiftool_files/lib/TAP/Formatter/Console/Session.pm +205 -0
  108. package/bin/exiftool_files/lib/TAP/Formatter/Console.pm +100 -0
  109. package/bin/exiftool_files/lib/TAP/Formatter/File/Session.pm +95 -0
  110. package/bin/exiftool_files/lib/TAP/Formatter/File.pm +56 -0
  111. package/bin/exiftool_files/lib/TAP/Formatter/Session.pm +220 -0
  112. package/bin/exiftool_files/lib/TAP/Harness/Beyond.pod +426 -0
  113. package/bin/exiftool_files/lib/TAP/Harness/Env.pm +215 -0
  114. package/bin/exiftool_files/lib/TAP/Harness.pm +1054 -0
  115. package/bin/exiftool_files/lib/TAP/Object.pm +155 -0
  116. package/bin/exiftool_files/lib/TAP/Parser/Aggregator.pm +414 -0
  117. package/bin/exiftool_files/lib/TAP/Parser/Grammar.pm +584 -0
  118. package/bin/exiftool_files/lib/TAP/Parser/Iterator/Array.pm +100 -0
  119. package/bin/exiftool_files/lib/TAP/Parser/Iterator/Process.pm +378 -0
  120. package/bin/exiftool_files/lib/TAP/Parser/Iterator/Stream.pm +116 -0
  121. package/bin/exiftool_files/lib/TAP/Parser/Iterator.pm +162 -0
  122. package/bin/exiftool_files/lib/TAP/Parser/IteratorFactory.pm +339 -0
  123. package/bin/exiftool_files/lib/TAP/Parser/Multiplexer.pm +194 -0
  124. package/bin/exiftool_files/lib/TAP/Parser/Result/Bailout.pm +62 -0
  125. package/bin/exiftool_files/lib/TAP/Parser/Result/Comment.pm +60 -0
  126. package/bin/exiftool_files/lib/TAP/Parser/Result/Plan.pm +119 -0
  127. package/bin/exiftool_files/lib/TAP/Parser/Result/Pragma.pm +62 -0
  128. package/bin/exiftool_files/lib/TAP/Parser/Result/Test.pm +271 -0
  129. package/bin/exiftool_files/lib/TAP/Parser/Result/Unknown.pm +48 -0
  130. package/bin/exiftool_files/lib/TAP/Parser/Result/Version.pm +62 -0
  131. package/bin/exiftool_files/lib/TAP/Parser/Result/YAML.pm +61 -0
  132. package/bin/exiftool_files/lib/TAP/Parser/Result.pm +297 -0
  133. package/bin/exiftool_files/lib/TAP/Parser/ResultFactory.pm +183 -0
  134. package/bin/exiftool_files/lib/TAP/Parser/Scheduler/Job.pm +127 -0
  135. package/bin/exiftool_files/lib/TAP/Parser/Scheduler/Spinner.pm +61 -0
  136. package/bin/exiftool_files/lib/TAP/Parser/Scheduler.pm +448 -0
  137. package/bin/exiftool_files/lib/TAP/Parser/Source.pm +381 -0
  138. package/bin/exiftool_files/lib/TAP/Parser/SourceHandler/Executable.pm +184 -0
  139. package/bin/exiftool_files/lib/TAP/Parser/SourceHandler/File.pm +136 -0
  140. package/bin/exiftool_files/lib/TAP/Parser/SourceHandler/Handle.pm +124 -0
  141. package/bin/exiftool_files/lib/TAP/Parser/SourceHandler/Perl.pm +370 -0
  142. package/bin/exiftool_files/lib/TAP/Parser/SourceHandler/RawTAP.pm +130 -0
  143. package/bin/exiftool_files/lib/TAP/Parser/SourceHandler.pm +191 -0
  144. package/bin/exiftool_files/lib/TAP/Parser/YAMLish/Reader.pm +332 -0
  145. package/bin/exiftool_files/lib/TAP/Parser/YAMLish/Writer.pm +254 -0
  146. package/bin/exiftool_files/lib/TAP/Parser.pm +1931 -0
  147. package/bin/exiftool_files/lib/Test/Builder/Formatter.pm +107 -0
  148. package/bin/exiftool_files/lib/Test/Builder/IO/Scalar.pm +659 -0
  149. package/bin/exiftool_files/lib/Test/Builder/Module.pm +182 -0
  150. package/bin/exiftool_files/lib/Test/Builder/Tester/Color.pm +51 -0
  151. package/bin/exiftool_files/lib/Test/Builder/Tester.pm +675 -0
  152. package/bin/exiftool_files/lib/Test/Builder/TodoDiag.pm +68 -0
  153. package/bin/exiftool_files/lib/Test/Builder.pm +2653 -0
  154. package/bin/exiftool_files/lib/Test/Harness.pm +618 -0
  155. package/bin/exiftool_files/lib/Test/More.pm +1997 -0
  156. package/bin/exiftool_files/lib/Test/Simple.pm +220 -0
  157. package/bin/exiftool_files/lib/Test/Tester/Capture.pm +241 -0
  158. package/bin/exiftool_files/lib/Test/Tester/CaptureRunner.pm +79 -0
  159. package/bin/exiftool_files/lib/Test/Tester/Delegate.pm +45 -0
  160. package/bin/exiftool_files/lib/Test/Tester.pm +695 -0
  161. package/bin/exiftool_files/lib/Test/Tutorial.pod +618 -0
  162. package/bin/exiftool_files/lib/Test/use/ok.pm +64 -0
  163. package/bin/exiftool_files/lib/Text/ParseWords.pm +303 -0
  164. package/bin/exiftool_files/lib/Tie/StdHandle.pm +2 -2
  165. package/bin/exiftool_files/lib/Time/HiRes.pm +73 -68
  166. package/bin/exiftool_files/lib/Time/Local.pm +82 -35
  167. package/bin/exiftool_files/lib/Time/Piece.pm +19 -4
  168. package/bin/exiftool_files/lib/Time/Seconds.pm +1 -1
  169. package/bin/exiftool_files/lib/UNIVERSAL.pm +203 -0
  170. package/bin/exiftool_files/lib/Unicode/GCString.pm +60 -0
  171. package/bin/exiftool_files/lib/Unicode/LineBreak/Constants.pm +68 -0
  172. package/bin/exiftool_files/lib/Unicode/LineBreak.pm +248 -0
  173. package/bin/exiftool_files/lib/Win32/API/Struct.pm +1 -177
  174. package/bin/exiftool_files/lib/Win32/API/Type.pm +1 -100
  175. package/bin/exiftool_files/lib/Win32/API.pm +1 -830
  176. package/bin/exiftool_files/lib/Win32/FindFile.pm +2 -123
  177. package/bin/exiftool_files/lib/Win32.pm +213 -89
  178. package/bin/exiftool_files/lib/Win32API/File.pm +1 -1
  179. package/bin/exiftool_files/lib/auto/B/B.xs.dll +0 -0
  180. package/bin/exiftool_files/lib/auto/Compress/Raw/Bzip2/Bzip2.xs.dll +0 -0
  181. package/bin/exiftool_files/lib/auto/Compress/Raw/Lzma/Lzma.xs.dll +0 -0
  182. package/bin/exiftool_files/lib/auto/Compress/Raw/Lzma/autosplit.ix +3 -0
  183. package/bin/exiftool_files/lib/auto/Compress/Raw/Zlib/Zlib.xs.dll +0 -0
  184. package/bin/exiftool_files/lib/auto/CryptX/CryptX.xs.dll +0 -0
  185. package/bin/exiftool_files/lib/auto/Cwd/Cwd.xs.dll +0 -0
  186. package/bin/exiftool_files/lib/auto/Data/Dumper/Dumper.xs.dll +0 -0
  187. package/bin/exiftool_files/lib/auto/Digest/MD5/MD5.xs.dll +0 -0
  188. package/bin/exiftool_files/lib/auto/Digest/SHA/SHA.xs.dll +0 -0
  189. package/bin/exiftool_files/lib/auto/Encode/Encode.xs.dll +0 -0
  190. package/bin/exiftool_files/lib/auto/Fcntl/Fcntl.xs.dll +0 -0
  191. package/bin/exiftool_files/lib/auto/File/Glob/Glob.xs.dll +0 -0
  192. package/bin/exiftool_files/lib/auto/IO/Compress/Brotli/Brotli.xs.dll +0 -0
  193. package/bin/exiftool_files/lib/auto/IO/IO.xs.dll +0 -0
  194. package/bin/exiftool_files/lib/auto/List/Util/Util.xs.dll +0 -0
  195. package/bin/exiftool_files/lib/auto/MIME/Base64/Base64.xs.dll +0 -0
  196. package/bin/exiftool_files/lib/auto/Math/BigInt/FastCalc/FastCalc.xs.dll +0 -0
  197. package/bin/exiftool_files/lib/auto/Math/BigInt/GMP/GMP.xs.dll +0 -0
  198. package/bin/exiftool_files/lib/auto/POSIX/POSIX.xs.dll +0 -0
  199. package/bin/exiftool_files/lib/auto/PerlIO/scalar/scalar.xs.dll +0 -0
  200. package/bin/exiftool_files/lib/auto/Socket/Socket.xs.dll +0 -0
  201. package/bin/exiftool_files/lib/auto/Storable/Storable.xs.dll +0 -0
  202. package/bin/exiftool_files/lib/auto/Time/HiRes/HiRes.xs.dll +0 -0
  203. package/bin/exiftool_files/lib/auto/Time/Piece/Piece.xs.dll +0 -0
  204. package/bin/exiftool_files/lib/auto/Unicode/LineBreak/LineBreak.xs.dll +0 -0
  205. package/bin/exiftool_files/lib/auto/Win32/API/API.xs.dll +0 -0
  206. package/bin/exiftool_files/lib/auto/Win32/FindFile/FindFile.xs.dll +0 -0
  207. package/bin/exiftool_files/lib/auto/Win32/Win32.xs.dll +0 -0
  208. package/bin/exiftool_files/lib/auto/Win32API/File/File.xs.dll +0 -0
  209. package/bin/exiftool_files/lib/auto/mro/mro.xs.dll +0 -0
  210. package/bin/exiftool_files/lib/auto/re/re.xs.dll +0 -0
  211. package/bin/exiftool_files/lib/feature.pm +49 -17
  212. package/bin/exiftool_files/lib/mro.pm +4 -20
  213. package/bin/exiftool_files/lib/overload.pm +15 -15
  214. package/bin/exiftool_files/lib/parent.pm +10 -2
  215. package/bin/exiftool_files/lib/re.pm +91 -33
  216. package/bin/exiftool_files/lib/warnings.pm +17 -6
  217. package/bin/exiftool_files/libgcc_s_seh-1.dll +0 -0
  218. package/bin/exiftool_files/liblzma-5__.dll +0 -0
  219. package/bin/exiftool_files/libstdc++-6.dll +0 -0
  220. package/bin/exiftool_files/libwinpthread-1.dll +0 -0
  221. package/bin/exiftool_files/perl.exe +0 -0
  222. package/bin/exiftool_files/perl532.dll +0 -0
  223. package/package.json +5 -3
  224. package/bin/exiftool_files/libgcc_s_dw2-1.dll +0 -0
  225. package/bin/exiftool_files/perl530.dll +0 -0
@@ -15,7 +15,7 @@ use base "File::HomeDir::Driver";
15
15
 
16
16
  BEGIN
17
17
  {
18
- $VERSION = '1.004';
18
+ $VERSION = '1.006';
19
19
  }
20
20
 
21
21
  # Load early if in a forking environment and we have
@@ -98,55 +98,4 @@ sub users_home
98
98
 
99
99
  1;
100
100
 
101
- =pod
102
-
103
- =head1 NAME
104
-
105
- File::HomeDir::MacOS9 - Find your home and other directories on legacy Macintosh systems
106
-
107
- =head1 SYNOPSIS
108
-
109
- use File::HomeDir;
110
-
111
- # Find directories for the current user
112
- $home = File::HomeDir->my_home;
113
- $desktop = File::HomeDir->my_desktop;
114
-
115
- =head1 DESCRIPTION
116
-
117
- This module provides implementations for determining common user
118
- directories on legacy Mac hosts. In normal usage this module will always be
119
- used via L<File::HomeDir>.
120
-
121
- This module is no longer actively maintained, and is included only for
122
- extreme back-compatibility.
123
-
124
- Only the C<my_home> and C<my_desktop> methods are supported.
125
-
126
- =head1 SUPPORT
127
-
128
- See the support section the main L<File::HomeDir> module.
129
-
130
- =head1 AUTHORS
131
-
132
- Adam Kennedy E<lt>adamk@cpan.orgE<gt>
133
-
134
- Sean M. Burke E<lt>sburke@cpan.orgE<gt>
135
-
136
- =head1 SEE ALSO
137
-
138
- L<File::HomeDir>
139
-
140
- =head1 COPYRIGHT
141
-
142
- Copyright 2005 - 2011 Adam Kennedy.
143
-
144
- Some parts copyright 2000 Sean M. Burke.
145
-
146
- This program is free software; you can redistribute
147
- it and/or modify it under the same terms as Perl itself.
148
-
149
- The full text of the license can be found in the
150
- LICENSE file included with this module.
151
-
152
- =cut
101
+ #line 155
@@ -13,7 +13,7 @@ use base "File::HomeDir::Driver";
13
13
 
14
14
  BEGIN
15
15
  {
16
- $VERSION = '1.004';
16
+ $VERSION = '1.006';
17
17
  %DIR = ();
18
18
  $ENABLED = 0;
19
19
  }
@@ -101,45 +101,4 @@ sub users_home
101
101
 
102
102
  __END__
103
103
 
104
- =pod
105
-
106
- =head1 NAME
107
-
108
- File::HomeDir::Test - Prevent the accidental creation of user-owned files during testing
109
-
110
- =head1 SYNOPSIS
111
-
112
- use Test::More test => 1;
113
- use File::HomeDir::Test;
114
- use File::HomeDir;
115
-
116
- =head1 DESCRIPTION
117
-
118
- B<File::HomeDir::Test> is a L<File::HomeDir> driver intended for use in the test scripts
119
- of modules or applications that write files into user-owned directories.
120
-
121
- It is designed to prevent the pollution of user directories with files that are not part
122
- of the application install itself, but were created during testing. These files can leak
123
- state information from the tests into the run-time usage of an application, and on Unix
124
- systems also prevents tests (which may be executed as root via sudo) from writing files
125
- which cannot later be modified or removed by the regular user.
126
-
127
- =head1 SUPPORT
128
-
129
- See the support section of the main L<File::HomeDir> documentation.
130
-
131
- =head1 AUTHOR
132
-
133
- Adam Kennedy E<lt>adamk@cpan.orgE<gt>
134
-
135
- =head1 COPYRIGHT
136
-
137
- Copyright 2005 - 2011 Adam Kennedy.
138
-
139
- This program is free software; you can redistribute
140
- it and/or modify it under the same terms as Perl itself.
141
-
142
- The full text of the license can be found in the
143
- LICENSE file included with this module.
144
-
145
- =cut
104
+ #line 148
@@ -13,7 +13,7 @@ use base "File::HomeDir::Driver";
13
13
 
14
14
  BEGIN
15
15
  {
16
- $VERSION = '1.004';
16
+ $VERSION = '1.006';
17
17
  }
18
18
 
19
19
  #####################################################################
@@ -161,55 +161,4 @@ sub users_videos
161
161
 
162
162
  1;
163
163
 
164
- =pod
165
-
166
- =head1 NAME
167
-
168
- File::HomeDir::Unix - Find your home and other directories on legacy Unix
169
-
170
- =head1 SYNOPSIS
171
-
172
- use File::HomeDir;
173
-
174
- # Find directories for the current user
175
- $home = File::HomeDir->my_home; # /home/mylogin
176
- $desktop = File::HomeDir->my_desktop; # All of these will...
177
- $docs = File::HomeDir->my_documents; # ...default to home...
178
- $music = File::HomeDir->my_music; # ...directory
179
- $pics = File::HomeDir->my_pictures; #
180
- $videos = File::HomeDir->my_videos; #
181
- $data = File::HomeDir->my_data; #
182
-
183
- =head1 DESCRIPTION
184
-
185
- This module provides implementations for determining common user
186
- directories. In normal usage this module will always be
187
- used via L<File::HomeDir>.
188
-
189
- =head1 SUPPORT
190
-
191
- See the support section the main L<File::HomeDir> module.
192
-
193
- =head1 AUTHORS
194
-
195
- Adam Kennedy E<lt>adamk@cpan.orgE<gt>
196
-
197
- Sean M. Burke E<lt>sburke@cpan.orgE<gt>
198
-
199
- =head1 SEE ALSO
200
-
201
- L<File::HomeDir>, L<File::HomeDir::Win32> (legacy)
202
-
203
- =head1 COPYRIGHT
204
-
205
- Copyright 2005 - 2011 Adam Kennedy.
206
-
207
- Some parts copyright 2000 Sean M. Burke.
208
-
209
- This program is free software; you can redistribute
210
- it and/or modify it under the same terms as Perl itself.
211
-
212
- The full text of the license can be found in the
213
- LICENSE file included with this module.
214
-
215
- =cut
164
+ #line 218
@@ -14,7 +14,7 @@ use base "File::HomeDir::Driver";
14
14
 
15
15
  BEGIN
16
16
  {
17
- $VERSION = '1.004';
17
+ $VERSION = '1.006';
18
18
  }
19
19
 
20
20
  sub CREATE () { 1 }
@@ -188,71 +188,4 @@ sub _d
188
188
 
189
189
  1;
190
190
 
191
- =pod
192
-
193
- =head1 NAME
194
-
195
- File::HomeDir::Windows - Find your home and other directories on Windows
196
-
197
- =head1 SYNOPSIS
198
-
199
- use File::HomeDir;
200
-
201
- # Find directories for the current user (eg. using Windows XP Professional)
202
- $home = File::HomeDir->my_home; # C:\Documents and Settings\mylogin
203
- $desktop = File::HomeDir->my_desktop; # C:\Documents and Settings\mylogin\Desktop
204
- $docs = File::HomeDir->my_documents; # C:\Documents and Settings\mylogin\My Documents
205
- $music = File::HomeDir->my_music; # C:\Documents and Settings\mylogin\My Documents\My Music
206
- $pics = File::HomeDir->my_pictures; # C:\Documents and Settings\mylogin\My Documents\My Pictures
207
- $videos = File::HomeDir->my_videos; # C:\Documents and Settings\mylogin\My Documents\My Video
208
- $data = File::HomeDir->my_data; # C:\Documents and Settings\mylogin\Local Settings\Application Data
209
-
210
- =head1 DESCRIPTION
211
-
212
- This module provides Windows-specific implementations for determining
213
- common user directories. In normal usage this module will always be
214
- used via L<File::HomeDir>.
215
-
216
- Internally this module will use L<Win32>::GetFolderPath to fetch the location
217
- of your directories. As a result of this, in certain unusual situations
218
- (usually found inside large organizations) the methods may return UNC paths
219
- such as C<\\cifs.local\home$>.
220
-
221
- If your application runs on Windows and you want to have it work comprehensively
222
- everywhere, you may need to implement your own handling for these paths as they
223
- can cause strange behaviour.
224
-
225
- For example, stat calls to UNC paths may work but block for several seconds, but
226
- opendir() may not be able to read any files (creating the appearance of an existing
227
- but empty directory).
228
-
229
- To avoid complicating the problem any further, in the rare situation that a UNC path
230
- is returned by C<GetFolderPath> the usual -d validation checks will B<not> be done.
231
-
232
- =head1 SUPPORT
233
-
234
- See the support section the main L<File::HomeDir> module.
235
-
236
- =head1 AUTHORS
237
-
238
- Adam Kennedy E<lt>adamk@cpan.orgE<gt>
239
-
240
- Sean M. Burke E<lt>sburke@cpan.orgE<gt>
241
-
242
- =head1 SEE ALSO
243
-
244
- L<File::HomeDir>, L<File::HomeDir::Win32> (legacy)
245
-
246
- =head1 COPYRIGHT
247
-
248
- Copyright 2005 - 2011 Adam Kennedy.
249
-
250
- Some parts copyright 2000 Sean M. Burke.
251
-
252
- This program is free software; you can redistribute
253
- it and/or modify it under the same terms as Perl itself.
254
-
255
- The full text of the license can be found in the
256
- LICENSE file included with this module.
257
-
258
- =cut
191
+ #line 261