Re: MARC::MIR

2012-08-24 Thread Robin Sheat
Op 23-08-12 17:59, Marc Chantreux schreef: I also realised there are uncommited stuff on my disk: i'll push it tomorrow. That'd be great, thanks. Looking forward to having a bit of a play with it. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485

Re: MARC::MIR

2012-08-27 Thread Robin Sheat
+ 0.04 cusr 0.02 csys = 0.08 CPU) Result: PASS Looks happy to me. If I'm lucky, I'll get a chance to try it out this week. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D

Re: sending marc records into a script that uses MARC::Batch

2014-05-29 Thread Robin Sheat
/exception handling. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF signature.asc Description: This is a digitally signed message part

Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-05 Thread Robin Sheat
, other 650$v subfields are in their own strings, though suffer the same problem. Is this a bug in Catmandu-MARC? I've tried reading the marc_map.pl file, but the lack of internal documentation, and the nature of what it's doing make it not the easiest thing to understand. -- Robin Sheat Catalyst

Re: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-08 Thread Robin Sheat
arguments for join or string at (eval 85) line 1, near join: syntax error at (eval 85) line 1, near join: Followed by a trace. The same goes when I attempt to use split:1, and pretty much anything after the two parameters. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38

Re: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-08 Thread Robin Sheat
Robin Sheat schreef op ma 09-06-2014 om 14:50 [+1200]: $ cat test.fixes marc_map('650','subject',join:'###'); remove_field('record'); Ah, I found that I need to change the syntax a bit: marc_map('650','subject', -split = 1); gives me: {subject:[[Counting,Pictorial works,Juvenile literature

Re: Converting MARC fields with Catmandu - repeated subfields being squished together.

2014-06-09 Thread Robin Sheat
with nested arrays, and they're causing no problems at all like that, so I've just left it as it is and it's working great. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF signature.asc Description: This is a digitally signed message part

Converting MARC fields with Catmandu - 'unless exists' failing.

2014-06-10 Thread Robin Sheat
with embedded newlines? When I try the final option, I get the error: Unsuccessful stat on filename containing newline at /usr/share/perl5/Catmandu/Fix/Loader.pm line 33. which is a standard Perl exception when you do a file operation on a string with a \n anywhere that fails. -- Robin Sheat

Re: Converting MARC fields with Catmandu - 'unless exists' failing.

2014-06-12 Thread Robin Sheat
and discuss technicall issues: http://mail.librecat.org/mailman/listinfo/librecat-dev Cheers, I'll do that. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF signature.asc Description: This is a digitally signed message part