@@ -300,58 +300,6 @@ determine whether the v-string encoding was used.
300
300
form that has a leading 'v' character, for the simple reason that sometimes
301
301
it is impossible to tell whether one was present initially.
302
302
303
- =head2 Version Object Internals
304
-
305
- version.pm provides an overloaded version object that is designed to both
306
- encapsulate the author's intended $VERSION assignment as well as make it
307
- completely natural to use those objects as if they were numbers (e.g. for
308
- comparisons). To do this, a version object contains both the original
309
- representation as typed by the author, as well as a parsed representation
310
- to ease comparisons. Version objects employ L<overload> methods to
311
- simplify code that needs to compare, print, etc the objects.
312
-
313
- The internal structure of version objects is a blessed hash with several
314
- components:
315
-
316
- bless( {
317
- 'original' => 'v1.2.3_4',
318
- 'alpha' => 1,
319
- 'qv' => 1,
320
- 'version' => [
321
- 1,
322
- 2,
323
- 3,
324
- 4
325
- ]
326
- }, 'version' );
327
-
328
- =over 4
329
-
330
- =item original
331
-
332
- A faithful representation of the value used to initialize this version
333
- object. The only time this will not be precisely the same characters
334
- that exist in the source file is if a short dotted-decimal version like
335
- v1.2 was used (in which case it will contain 'v1.2'). This form is
336
- B<STRONGLY> discouraged, in that it will confuse you and your users.
337
-
338
- =item qv
339
-
340
- A boolean that denotes whether this is a decimal or dotted-decimal version.
341
- See L<version/is_qv()>.
342
-
343
- =item alpha
344
-
345
- A boolean that denotes whether this is an alpha version. NOTE: that the
346
- underscore can only appear in the last position. See L<version/is_alpha()>.
347
-
348
- =item version
349
-
350
- An array of non-negative integers that is used for comparison purposes with
351
- other version objects.
352
-
353
- =back
354
-
355
303
=head2 Replacement UNIVERSAL::VERSION
356
304
357
305
In addition to the version objects, this modules also replaces the core
0 commit comments