--- - branch: MAIN date: Fri May 9 15:24:03 UTC 2014 files: - new: '1.10' old: '1.9' path: pkgsrc/databases/p5-MARC-Record/Makefile pathrev: pkgsrc/databases/p5-MARC-Record/Makefile@1.10 type: modified - new: '1.3' old: '1.2' path: pkgsrc/databases/p5-MARC-Record/distinfo pathrev: pkgsrc/databases/p5-MARC-Record/distinfo@1.3 type: modified id: 20140509T152403Z.698ad3b18249f29005796d3d67470becdbdfd6bf log: | Update to 2.0.6 Upstream changes: 2.0.6 Tue Oct 22 16:17:06 UTC 2013 [ENHANCEMENTS] - MARC::Field->as_string() now accepts an optional second parameter to specify the delimiter to use between subfields. (Tomas Cohen Arazi) - MARC::Field->delete_subfield() can now accept a regexp to specify the subfields to remove. For example, to remove all numeric subfields, one can say: $field->delete_subfield(code => qr/\d/); (Jason Stephenson) [FIXES] - the warnings pragma is now used throughout MARC::Record - $field->as_string('0') now returns the contents of subfield $0 rather than the contents of all of the subfields in the field. - RT#88421: add newline after printing warnings (Jason Stephenson) - RT#85804: fix spelling glitch (Gregor Herrmann) 2.0.5 Mon Feb 11 20:39:10 PST 2013 - fix use of qw(...) in test case so that module passes tests with Perl 5.17.x. 2.0.4 Sat Feb 9 19:01:47 PST 2013 [ENHANCEMENTS] - add MARC::Field->set_indicator($indpos, $indval), a mutator for indicators - add MARC::Field->set_tag to allow tags to be renamed (Robin Sheat) - delete_subfield(), if given a single subfield label as its argument, will delete all instances of the specified subfield, increasing its DWIM factor - improved POD for MARC::Field->delete_subfield() [FIXES] - RT#70346: delete_subfield() no longer clears entire field if arguments are badly formatted - croak if invalid arguments are passed to delete_subfield() - fix error in tutorial (thanks to Tom Burton-West for the catch) - RT#76990: emit leader of correct length even if record longer than 99,999 octets (Julian Maurice) - RT#67094: croak with correct error if attempting to create MARC::Field sans subfields - corrected POD for indicator() method - move tag validity check to new class method, is_valid_tag($tagno) - move indicator validity check to new class method, is_valid_indicator($indval) - have MARC::Record pass perlcritic --gentle (mostly) - remove function prototypes (see http://www.perlmonks.org/?node_id=861966) module: pkgsrc subject: 'CVS commit: pkgsrc/databases/p5-MARC-Record' unixtime: '1399649043' user: wen