MARC::Record and pack_008

2004-08-31 Thread Mark Jordan
ually (specifically, 00-05 - Date entered on file)? Anything else I should know about, like 008's relationship to the record leader? Mark Mark Jordan Acting Coordinator of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Phone (604) 291 5753

Re: MARC::Record and pack_008

2004-08-31 Thread Mark Jordan
On Tue, Aug 31, 2004 at 01:52:17PM -0500, Ed Summers wrote: > On Tue, Aug 31, 2004 at 11:39:13AM -0700, Mark Jordan wrote: > > When creating new records, do I have to construct all positions of 008 > > manually (specifically, 00-05 - Date entered on file)? Anything else I > &

Re: MARC::Record and pack_008

2004-09-01 Thread Mark Jordan
rd is substantially cleaner and easier to use than the older modules (and more flexible too because programmers aren't boxed in by bib-specific methods). Besides, having to construct my own dates in 008 is a good excuse to use the always-enjoyable Date::Calc module =8^) Mark Mark Jord

Re: Problem cleaning up MARC for MySQL

2006-01-01 Thread Mark Jordan
Hi Aaron, I'm not sure if this will solve your quoting problems, but instead of rawdata() you could trying using the encode() method to serialize a record object for insertion into a database field. You can then use decode() to get the record object back: use MARC::File::USMARC; # Serialize th

Re: Code For Web Based MARC Creation

2006-02-28 Thread Mark Jordan
i All, > > I would like to make a CGI form that will create MARC records using > MARC::Record. Does anyone know of a project already doing somehting > like this or know of somewhere where I can see code? > > Thanks, > Aaron -- Mark Jordan Head of Library Systems W.

Deleting a subfield using MARC::Record

2006-04-28 Thread Mark Jordan
r should I just reconstruct the field, leaving out the unwanted subfield? TIA, Mark -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Phone (604) 291 5753 / Fax (604) 291 3023 [EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Re: Deleting a subfield using MARC::Record

2006-04-28 Thread Mark Jordan
$notwanted->delete_subfield(); } } Mark -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Phone (604) 291 5753 / Fax (604) 291 3023 [EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Re: Deleting a subfield using MARC::Record

2006-04-29 Thread Mark Jordan
Edward Summers wrote: On Apr 29, 2006, at 1:08 AM, Mark Jordan wrote: Edward Summers wrote: Deleting subfields is a bit tricky since subfields may repeat, and sometimes people just want to delete one of them. An unfortunate state of affairs perhaps. Yeah, I can see what you're saying

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Mark Jordan
Edward Summers wrote: On Apr 29, 2006, at 10:31 AM, Mark Jordan wrote: Maybe other people should verify the usefulness of a delete subfield function before anyone does anything about it, though. Would a half dozen +1 votes from perl4libers validate its usefulness? Yes it would...but to get

Re: Deleting a subfield using MARC::Record

2006-05-01 Thread Mark Jordan
+1 Mark -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Phone (604) 291 5753 / Fax (604) 291 3023 [EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Re: Deleting a subfield using MARC::Record

2006-05-03 Thread Mark Jordan
ot;the zeroth occurrence of subfield 'u'", since specifying which of a repeated group of subfields is a realistic task, as you say. For example, each record has two 'u's but all of the first ones are garbage. Mark -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Phone (604) 291 5753 / Fax (604) 291 3023 [EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Re: Deleting a subfield using MARC::Record

2006-05-03 Thread Mark Jordan
Mark Edward Summers wrote: On May 3, 2006, at 8:55 AM, Mark Jordan wrote: I think it should mean "the zeroth occurrence of subfield 'u'", since specifying which of a repeated group of subfields is a realistic task, as you say. For example, each record has two 'u&

Code for pretty printing MARC Holdings data

2006-09-25 Thread Mark Jordan
TIA, Mark -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Phone (604) 291 5753 / Fax (604) 291 3023 [EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Re: DBI error message

2007-05-08 Thread Mark Jordan
d Co-director of Libraries fax (316) 284-5843 Mennonite Library and Archives [EMAIL PROTECTED] Bethel College http://www.bethelks.edu/jthiesen/ 300 E. 27th St. North Newton, KS 67117-0531 -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnab

Re: Question about activestate perl

2008-04-22 Thread Mark Jordan
th just a change of the shebang line, and it works fine. When I hardcode the 'Hello' it works fine. I figure this has to be excruciatingly simple, but I can't see it. Help? -- Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, Bri

Re: Question about activestate perl

2008-04-22 Thread Mark Jordan
Mark Jordan wrote: Or, you can remove the shebang totally and run perl anne-test.pl Woops, I meant: perl anne-test.pl foo which will print 'foo'. Mark

Re: Excel or CSV to METS or MODS

2008-12-18 Thread Mark Jordan
Jane, I have a PHP command-line script that does Excel to MODS in an OAI wrapper, but it's hard coded to the MODS elements we are using (i.e., I did it up for a specific, never-ever-ever-to-change Excel template). I don't mind sharing it if you think it would be useful. Mark Mark J

Re: ERROR : "\xF9" does not map to Unicode

2009-07-13 Thread Mark Jordan
Hi Jordi, Did III convert your database to Unicode? If so, they encoded it into 'raw' Unicode, not utf8. Also, how frequently is the error happening? Mark Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Ca

Re: confused about utf-8, and perl.

2011-03-24 Thread Mark Jordan
Enrico, If you suspect that $xml_text is in latin1, maybe you could confirm this by running it through Encode::Guess and then encoding it to utf8: http://search.cpan.org/~dankogai/Encode-2.42/lib/Encode/Guess.pm Mark - Original Message - > I don't understand what I am doing wrong, but

Anyone create MFHD records using MARC/Perl

2011-09-09 Thread Mark Jordan
Hi, Anyone know if there are any reasons that MARC::Record et al can't be used to create dumps of MFHD? For example, are there any leader/indicator values that are specific to MFHD that are illegal in MARC bib records that might cause MARC/Perl to puke? Mark Mark Jordan Head of Li

Re: Anyone create MFHD records using MARC/Perl

2011-09-12 Thread Mark Jordan
module. No problems that I know of. > > -- Michael > > # Michael Doran, Systems Librarian > # University of Texas at Arlington > # 817-272-5326 office > # 817-688-1926 mobile > # do...@uta.edu > # http://rocky.uta.edu/doran/ > > > > -Original Message-

Re: MARC/Perl on a Windows PC--need some handholding....

2012-06-18 Thread Mark Jordan
Hi Charles, If you're using ActiveState Perl on Windows, and ppm (its equivalent to CPAN), you don't have to use makefiles, ppm installs everything for you. Mark - Original Message - > Greetings all. > > Has anyone had much experience/luck running the current MARC/Perl on > a PC using