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
ever see this before? Do you know of a solution?
Thanks,
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
also love to hear suggestions on if you have any.)
Thanks,
Mike Barrett
GetSomeFields.pl
Description: Binary data
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
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,
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