Changeset 31904 for main/trunk/greenstone2/perllib/oaiinfo.pm
- Timestamp:
- 2017-08-18T19:51:51+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/oaiinfo.pm
r31900 r31904 6 6 use constant INFO_DATESTAMP_INDEX => 2; 7 7 8 my $OID_EARLIEST_TIMESTAMP = " earliesttimestamp";8 my $OID_EARLIEST_TIMESTAMP = "_earliesttimestamp"; 9 9 # Declaring as my $OID_EARLIEST_TIMESTAMP rather than constant, because it's not straightforward 10 10 # to use string constant as hash key (need to concat with empty str). … … 31 31 # This record has $OID_EARLIEST_TIMESTAMP for OID. 32 32 # Its deletion status is maintained at NA, not applicable. 33 # In cases of older oai-inf.db files where there's no earliesttimestamp field, this record33 # In cases of older oai-inf.db files where there's no $OID_EARLIEST_TIMESTAMP record, this record 34 34 # is also created but with timestamp set to the oldest lastmodified date in oai-inf.db. 35 35
Note:
See TracChangeset
for help on using the changeset viewer.