Docs/Site_SVD/File_Where.pm untested

filter: Statementstmt 0.0% 0 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 41 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!perl
2 #
3 # The copyright notice and plain old documentation (POD)
4 # are at the end of this file.
5 #
6 package Docs::Site_SVD::File_Where;
7
8 use strict;
9 use warnings;
10 use warnings::register;
11
12 use vars qw($VERSION $DATE $FILE );
13 $VERSION = '0.05';
14 $DATE = '2004/05/04';
15 $FILE = __FILE__;
16
17 use vars qw(%INVENTORY);
18 %INVENTORY = (
19 'lib/Docs/Site_SVD/File_Where.pm' => [qw(0.05 2004/05/04), 'revised 0.04'],
20 'MANIFEST' => [qw(0.05 2004/05/04), 'generated, replaces 0.04'],
21 'Makefile.PL' => [qw(0.05 2004/05/04), 'generated, replaces 0.04'],
22 'README' => [qw(0.05 2004/05/04), 'generated, replaces 0.04'],
23 'lib/File/Where.pm' => [qw(1.16 2004/05/04), 'revised 1.15'],
24 't/File/Where.d' => [qw(0.04 2004/05/04), 'revised 0.03'],
25 't/File/Where.pm' => [qw(0.04 2004/05/04), 'revised 0.03'],
26 't/File/Where.t' => [qw(0.04 2004/05/04), 'revised 0.03'],
27 't/File/_Drivers_/Driver.pm' => [qw(0.02 2004/05/04), 'new'],
28 't/File/_Drivers_/Generate.pm' => [qw(0.02 2004/05/04), 'new'],
29 't/File/_Drivers_/IO.pm' => [qw(0.02 2004/05/04), 'new'],
30 't/File/File/Package.pm' => [qw(1.16 2004/05/04), 'revised 1.15'],
31 't/File/Test/Tech.pm' => [qw(1.22 2004/05/04), 'revised 1.17'],
32 't/File/Data/Secs2.pm' => [qw(1.19 2004/05/04), 'revised 1.15'],
33 't/File/Data/SecsPack.pm' => [qw(0.04 2004/05/04), 'new'],
34 't/File/Data/Startup.pm' => [qw(0.04 2004/05/04), 'new'],
35
36 );
37
38 ########
39 # The ExtUtils::SVDmaker module uses the data after the __DATA__
40 # token to automatically generate this file.
41 #
42 # Don't edit anything before __DATA_. Edit instead
43 # the data after the __DATA__ token.
44 #
45 # ANY CHANGES MADE BEFORE the __DATA__ token WILL BE LOST
46 #
47 # the next time ExtUtils::SVDmaker generates this file.
48 #
49 #
50
51
52
53 =head1 Title Page
54
55 Software Version Description
56
57 for
58
59 File::Where - find the absolute file for a program module; dir for a repository
60
61 Revision: D
62
63 Version: 0.05
64
65 Date: 2004/05/04
66
67 Prepared for: General Public
68
69 Prepared by: SoftwareDiamonds.com E<lt> support@SoftwareDiamonds.com E<gt>
70
71 Copyright: copyright © 2003 Software Diamonds
72
73 Classification: NONE
74
75 =head1 1.0 SCOPE
76
77 This paragraph identifies and provides an overview
78 of the released files.
79
80 =head2 1.1 Identification
81
82 This release,
83 identified in L<3.2|/3.2 Inventory of software contents>,
84 is a collection of Perl modules that
85 extend the capabilities of the Perl language.
86
87 =head2 1.2 System overview
88
89 The system is the Perl programming language software.
90 As established by the Perl referenced documents,
91 program modules, such the
92 "L<File::Where|File::Where>" module, extend the Perl language.
93
94 The subroutines in File::Where program module finds the absolute file or dir for a
95 program module, program module repository, relative file, relative directory
96 by searching the directories in the @INC array of directories or an
97 override array of directories. The File::Where program module
98 supercedes the File::PM2File program module.
99
100 =head2 1.3 Document overview.
101
102 This document releases File::Where version 0.05
103 providing a description of the inventory, installation
104 instructions and other information necessary to
105 utilize and track this release.
106
107 =head1 3.0 VERSION DESCRIPTION
108
109 All file specifications in this SVD
110 use the Unix operating
111 system file specification.
112
113 =head2 3.1 Inventory of materials released.
114
115 This document releases the file
116
117 File-Where-0.05.tar.gz
118
119 found at the following repository(s):
120
121 http://www.softwarediamonds/packages/
122 http://www.perl.com/CPAN/authors/id/S/SO/SOFTDIA/
123
124 Restrictions regarding duplication and license provisions
125 are as follows:
126
127 =over 4
128
129 =item Copyright.
130
131 copyright © 2003 Software Diamonds
132
133 =item Copyright holder contact.
134
135 603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
136
137 =item License.
138
139 Software Diamonds permits the redistribution
140 and use in source and binary forms, with or
141 without modification, provided that the
142 following conditions are met:
143
144 =over 4
145
146 =item 1
147
148 Redistributions of source code, modified or unmodified
149 must retain the above copyright notice, this list of
150 conditions and the following disclaimer.
151
152 =item 2
153
154 Redistributions in binary form must
155 reproduce the above copyright notice,
156 this list of conditions and the following
157 disclaimer in the documentation and/or
158 other materials provided with the
159 distribution.
160
161 =back
162
163 SOFTWARE DIAMONDS, http://www.SoftwareDiamonds.com,
164 PROVIDES THIS SOFTWARE
165 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES,
166 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
167 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
168 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
169 SHALL SOFTWARE DIAMONDS BE LIABLE FOR ANY DIRECT,
170 INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR
171 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
172 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
173 LOSS OF USE,DATA, OR PROFITS; OR BUSINESS
174 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
175 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
176 OR TORT (INCLUDING USE OF THIS SOFTWARE, EVEN IF
177 ADVISED OF NEGLIGENCE OR OTHERWISE) ARISING IN
178 ANY WAY OUT OF THE POSSIBILITY OF SUCH DAMAGE.
179
180 =back
181
182 =head2 3.2 Inventory of software contents
183
184 The content of the released, compressed, archieve file,
185 consists of the following files:
186
187 file version date comment
188 ------------------------------------------------------------ ------- ---------- ------------------------
189 lib/Docs/Site_SVD/File_Where.pm 0.05 2004/05/04 revised 0.04
190 MANIFEST 0.05 2004/05/04 generated, replaces 0.04
191 Makefile.PL 0.05 2004/05/04 generated, replaces 0.04
192 README 0.05 2004/05/04 generated, replaces 0.04
193 lib/File/Where.pm 1.16 2004/05/04 revised 1.15
194 t/File/Where.d 0.04 2004/05/04 revised 0.03
195 t/File/Where.pm 0.04 2004/05/04 revised 0.03
196 t/File/Where.t 0.04 2004/05/04 revised 0.03
197 t/File/_Drivers_/Driver.pm 0.02 2004/05/04 new
198 t/File/_Drivers_/Generate.pm 0.02 2004/05/04 new
199 t/File/_Drivers_/IO.pm 0.02 2004/05/04 new
200 t/File/File/Package.pm 1.16 2004/05/04 revised 1.15
201 t/File/Test/Tech.pm 1.22 2004/05/04 revised 1.17
202 t/File/Data/Secs2.pm 1.19 2004/05/04 revised 1.15
203 t/File/Data/SecsPack.pm 0.04 2004/05/04 new
204 t/File/Data/Startup.pm 0.04 2004/05/04 new
205
206
207 =head2 3.3 Changes
208
209 The changes to the previous version are as follows:
210
211 =over 4
212
213 =item File-Where-0.01
214
215 Originated.
216
217 =item File-Where-0.02
218
219 Added code to where_pm for the boundary case where
220
221 where_pm('File::Where') # subroutine interface
222 'File::Where'->where_pm('File::Where') # class interface
223
224 This bug was discovered because the obsoleted File::PM2File
225 module now uses File::Where for backwards compatibility.
226
227 =item File-Where-0.03
228
229 Subject: FAIL Test-Tech-0.18 i586-linux 2.4.22-4tr
230 From: cpansmoke@alternation.net
231 Date: Thu, 8 Apr 2004 15:09:35 -0300 (ADT)
232
233 PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/Test/Tech/Tech.t
234 t/Test/Tech/Tech....Can't locate FindBIN.pm
235
236 Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
237 Platform:
238 osname=linux, osvers=2.4.22-4tr, archname=i586-linux
239
240 This is capitalization problem. The program module name is 'FindBin' not 'FindBIN' which
241 is part of Perl. Microsoft does not care about capitalization differences while linux
242 does. This error is in the test script automatically generated by C<Test::STDmaker>
243 and was just introduced when moved test script libraries from C<tlib> to the directory
244 of the test script. Repaired C<Test::STDmaker> and regenerated the distribution.
245
246 =item File-Where-0.04
247
248 Subject: FAIL File-Where-0.03 ppc-darwin-thread-multi 7.2.0
249 From: nothingmuch@woobling.org
250 Date: Fri, 9 Apr 2004 21:59:10 +0300 (IDT)
251
252 # Test 19 got: '/private/var/cpanplus/5.8.3/build/File-Where-0.03/blib/lib/File/Where.pm' (t/File/where.t at line 277)
253
254 # Expected: '/private/var/cpanplus/5.8.3/build/File-Where-0.03/lib/File/Where.pm'
255
256 If doing a target site install, the install software going to place
257 the C<blib> directory up front in @INC
258 Changed the file test to locate the include directory with high
259 probability of having the first C<File::Where> in the include path
260 in determining the expected value.
261
262 Really does not cheapen test by doing a quasi
263 where search where actual does the same.
264 The object of the test to validate boundary condition where
265 the class, 'File::Where', is the same as the program module 'File::Where
266 that the 'where' subroutine/method is locating.
267 There are plenty of successful test where C<where> finds
268 directories and files as expected.
269
270 =item File-Where-0.05
271
272 Rework the POD NOTES and QUALITY ASSURANCE sections.
273
274 =item File-Where-0.06
275
276 Added the C<is_module>, C<program_modules>, C<repository_pms> and
277 C<dir_pms> subroutines.
278
279 =back
280
281 =head2 3.4 Adaptation data.
282
283 This installation requires that the installation site
284 has the Perl programming language installed.
285 There are no other additional requirements or tailoring needed of
286 configurations files, adaptation data or other software needed for this
287 installation particular to any installation site.
288
289 =head2 3.5 Related documents.
290
291 There are no related documents needed for the installation and
292 test of this release.
293
294 =head2 3.6 Installation instructions.
295
296 Instructions for installation, installation tests
297 and installation support are as follows:
298
299 =over 4
300
301 =item Installation Instructions.
302
303 To installed the release file, use the CPAN module
304 pr PPM module in the Perl release
305 or the INSTALL.PL script at the following web site:
306
307 http://packages.SoftwareDiamonds.com
308
309 Follow the instructions for the the chosen installation software.
310
311 If all else fails, the file may be manually installed.
312 Enter one of the following repositories in a web browser:
313
314 http://www.softwarediamonds/packages/
315 http://www.perl.com/CPAN/authors/id/S/SO/SOFTDIA/
316
317 Right click on 'File-Where-0.05.tar.gz' and download to a temporary
318 installation directory.
319 Enter the following where $make is 'nmake' for microsoft
320 windows; otherwise 'make'.
321
322 gunzip File-Where-0.05.tar.gz
323 tar -xf File-Where-0.05.tar
324 perl Makefile.PL
325 $make test
326 $make install
327
328 On Microsoft operating system, nmake, tar, and gunzip
329 must be in the exeuction path. If tar and gunzip are
330 not install, download and install unxutils from
331
332 http://packages.softwarediamonds.com
333
334 =item Prerequistes.
335
336 None.
337
338
339 =item Security, privacy, or safety precautions.
340
341 None.
342
343 =item Installation Tests.
344
345 Most Perl installation software will run the following test script(s)
346 as part of the installation:
347
348 t/File/Where.t
349
350 =item Installation support.
351
352 If there are installation problems or questions with the installation
353 contact
354
355 603 882-0846 E<lt>support@SoftwareDiamonds.comE<gt>
356
357 =back
358
359 =head2 3.7 Possible problems and known errors
360
361 There is still much work needed to ensure the quality
362 of this module as follows:
363
364 =over 4
365
366 =item *
367
368 State the functional requirements for each method
369 including not only the GO paths but also what to
370 expect for the NOGO paths
371
372 =item *
373
374 All the tests are GO path tests. Should add
375 NOGO tests.
376
377
378 =back
379
380 =head1 4.0 NOTES
381
382 The following are useful acronyms:
383
384 =over 4
385
386 =item .d
387
388 extension for a Perl demo script file
389
390 =item .pm
391
392 extension for a Perl Library Module
393
394 =item .t
395
396 extension for a Perl test script file
397
398 =item POD
399
400 Plain Old Documentation
401
402 =back
403
404 =head1 2.0 SEE ALSO
405
406 =over 4
407
408 =item L<File::Where|File::Where>
409
410 =item L<Docs::US_DOD::SVD|Docs::US_DOD::SVD>
411
412 =back
413
414 =for html
415 <hr>
416 <p><br>
417 <!-- BLK ID="PROJECT_MANAGEMENT" -->
418 <!-- /BLK -->
419 <p><br>
420 <!-- BLK ID="NOTICE" -->
421 <!-- /BLK -->
422 <p><br>
423 <!-- BLK ID="OPT-IN" -->
424 <!-- /BLK -->
425 <p><br>
426 <!-- BLK ID="LOG_CGI" -->
427 <!-- /BLK -->
428 <p><br>
429
430 =cut
431
432 1;
433
434 __DATA__