RE: Warnings during decode() of raw MARC

2004-08-18 Thread Houghton,Andrew
From: Bryan Baldus [mailto:[EMAIL PROTECTED] Sent: 18 August, 2004 09:24 Subject: Warnings during decode() of raw MARC I'm probably missing something obvious, but I have been unsuccessful in trying to capture the warnings reported by MARC::Record that are set by

Net::Z3950, OPAC record syntax multiple MFHD 866

2004-08-18 Thread Michael D Doran
Please excuse the cross-posting (perl4lib Net-z3950). I am working with a Perl script designed to query our catalog via Net::Z3950 and retrieve a journal record. The OPAC record syntax is specified because the ultimate point of the script [1] is to parse the journal holdings to determine if a

Re: Warnings during decode() of raw MARC

2004-08-18 Thread Ed Summers
On Wed, Aug 18, 2004 at 08:23:59AM -0500, Bryan Baldus wrote: Both seem to fail to capture the warnings reported by MARC::File::USMARC. There appears to be a bug in MARC::Batch::next() code at line 123 which extracts the warnings from the newly instantiated MARC::Record object and stuffs them

Re: delete_subfields()

2004-08-18 Thread moregan
MARC::Field-as_string() takes a string of subfields rather than an array. It would be better for as_string() and delete_subfields() to have the same interface. Since as_string() is used a lot in production, delete_subfields() should be the one to change. Mike O'Regan

Re: delete_subfields()

2004-08-18 Thread Andy Lester
On Wed, Aug 18, 2004 at 03:34:11PM -0500, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: MARC::Field-as_string() takes a string of subfields rather than an array. It would be better for as_string() and delete_subfields() to have the same interface. Since as_string() is used a lot in production,

RE: Warnings during decode() of raw MARC

2004-08-18 Thread Bryan Baldus
How do you typically do the install? MARC::Record is included at the ActiveState PPM Repository, so it should do these things on a Windows platform...assuming nmake or some sort of make variant is being used. At home (on the Mac), I just drop the MARC folder in my site_lib folder in the MacPerl

Re: Warnings during decode() of raw MARC

2004-08-18 Thread Ed Summers
... I've not usually bothered to look at how the tests or the Makefile.PL work. This is one reason I haven't tried to distribute my modules through CPAN. What no OS X yet!? The drag and drop trick is what you are stuck with in MacPerl, and it's kind of a testament to Perl's flexibility that