Ignore:
Timestamp:
2009-05-27T13:56:41+12:00 (15 years ago)
Author:
kjdon
Message:

use new util::tidy_up_oid instead of fiddling with it directly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/SplitTextFile.pm

    r19493 r19617  
    306306    if (defined $identifier && $identifier ne "") {
    307307        $full_id = $identifier;
    308         $full_id =~ s/\.//g; #remove any periods
    309         if ($full_id =~ /^[\d]*$/) {
    310         $full_id = "D" . $full_id;
    311         print STDERR "OID only contains numbers, adding a D\n";
    312         }
     308        $full_id = &util::tidy_up_oid($full_id);
    313309    }
    314310    }
Note: See TracChangeset for help on using the changeset viewer.