Typo in MARC::Record tutorial.

2011-05-15 Thread Mike Barrett
n why the code I copied and pasted wouldn't even give me a proper error, just declare the function unknown. (Even uninstalled and reinstalled the MARC::Record module.) On the plus side, I learned a lot about Perl error messages and debugging tools in the last few days. :) Thanks for creating MARC::Record. Mike Barrett

Invalid UTF-8 characters causing MARC::Record crash.

2011-05-17 Thread Mike Barrett
ever see this before? Do you know of a solution? Thanks, Mike Barrett

Re: Invalid UTF-8 characters causing MARC::Record crash.

2011-05-17 Thread Mike Barrett
; require Carp; > Carp::croak("Unknown encoding '$name'"); > } > my $string; > eval { $string = $enc->decode($octets,$check); }; > $_[1] = $octets if $check and !($check & LEAVE_SRC()); > if ($@) { > return $altstring; > } el

Anybody know what this USMARC.pm error is?

2011-05-21 Thread Mike Barrett
also love to hear suggestions on if you have any.) Thanks, Mike Barrett GetSomeFields.pl Description: Binary data

Re: Anybody know what this USMARC.pm error is?

2011-05-26 Thread Mike Barrett
May 23, 2011 at 5:28 AM, Paul Hoffman wrote: > On Sat, May 21, 2011 at 04:10:49PM -0500, Mike Barrett wrote: > > When I run the code below, it works fine for a couple thousand MARC > records, > > then starts this: > > str outside of string at C:/Perl64/lib/bytes_heavy

Re: Anybody know what this USMARC.pm error is?

2011-05-29 Thread Mike Barrett
u run into mysterious crashes of MARC:Record while looking at a text file of MARC records including UTF-8 characters that have passed through a DOS editor, which I think is how they got messed up. Mike On Mon, May 23, 2011 at 5:28 AM, Paul Hoffman wrote: > On Sat, May 21, 2011 at 04:10:49PM -0500,

MARC or metadata related programming exercises?

2011-07-11 Thread Mike Barrett
suggestions (or a site) for similar challenges based in text parsing and management? MARC related would be best, of course, but anything leaning more toward text than math would be appreciated. Thanks, Mike Barrett