Problems with MARC::Batch

2004-01-13 Thread Sperr, Edwin
Hi -- I'm trying to get MARC::Batch to work. To wit, when I try to use the example script given in the documentation (or any other script that I've tried), I get an error along the lines of: Undefined subroutine &Marc::Batch called at C:\MARCPERL\test1.pl line 6. Oddly enough, another example s

RE: Problems with MARC::Batch

2004-01-13 Thread Sperr, Edwin
Fixed it right up! Thanks for the quick info... Ed. -Original Message- From: Ed Summers [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 4:19 PM To: [EMAIL PROTECTED] Subject: Re: Problems with MARC::Batch On Tue, Jan 13, 2004 at 04:11:17PM -0500, Sperr, Edwin wrote: >

Using as_string() in Marc::batch

2004-02-25 Thread Sperr, Edwin
I'm using as_string() in Marc::Batch to get 650 fields and mash all the subfields together so I can push them into a database. Works great, but what I'd really like to do is have fields such as: "Health Services Canada." appear as "Health Services -- Canada." Basically, I need some dashes to a

RE: Using as_string() in Marc::batch

2004-02-25 Thread Sperr, Edwin
>I'm using as_string() in Marc::Batch to get 650 fields and mash all the subfields together so I can push them into a database. >Works great, but what I'd really like to do is have fields such as: >"Health Services Canada." >appear as >"Health Services -- Canada." For the time being, I've dec

Use of encode([$encoding]) in MARC-XML

2005-09-27 Thread Sperr, Edwin
I'm attempting to use XSL (on a Windows server) to transform XML that I generated using MARC::File::XML. However, I keep running into errors because of illegal characters. I have the feeling that using encode([$encoding]) might get me closer to a solution, but I haven't figured out how to appl

Problems using MARC::Charset

2005-10-21 Thread Sperr, Edwin
I've tried running my records through MARC::Charset, using the formulation: while (my $record = $batch->next()) { $cs->to_utf8($file->write( $record )); } However, what I get back still isn't valid utf-8 -- in my leaders, I'm left with stuff like: 01533nam 2200337Ia 450 This causes e

Using PPM to install MARC-XML?

2006-01-10 Thread Sperr, Edwin
I'm trying to use MARC::File::XML, but I get: "Can't locate MARC/File/XML.pm in @INC" I'm on a Windows box, so I'd like to use PPM to install any necessary modules. However, when I look for "Marc-XML", I don't turn anything up. Is there something else I should try? Thanks! Ed Sperr Digital Ser