[Koha] "Software error" on Web page
Ricardo Dias Marques
lists at ricmarques.net
Fri May 9 10:42:20 NZST 2008
Hi Michael
On Thu, May 8, 2008 at 2:22 PM, Mitchell, Michael
<Michael.Mitchell at brazosport.edu> wrote:
> Ricardo,
> I commented out "use strict" in zoom.pm (line 31) and get:
>
> Software error:
>
> Undefined subroutine &Net::Z3950::ZOOM::yaz_log_mask_str called at
> /usr/local/lib/perl/5.8.8/ZOOM.pm line 1092.
[snip]
> So I comment that last section out and I'm once again good to go:
>
> #package ZOOM::Log;
> 1091
> 1092 #sub mask_str { my($a) = @_;
> Net::Z3950::ZOOM::yaz_log_mask_str($a); }
> 1093 #sub module_level { my($a) = @_;
> Net::Z3950::ZOOM::yaz_log_module_level($a); }
> 1094 #sub init { my($a, $b, $c) = @_;
> 1095 # Net::Z3950::ZOOM::yaz_log_init($a, $b, $c) }
[snip]
Interesting. It's good to know that solved your problem! I must admit
that I would probably try less "drastic" solutions than commenting out
"problematic" Perl code, like you did. But, like you said, because
you're not planning on using the Z3950 search functionality, I think
that I understand why you felt comfortable with that approach.
Congratulations for being so resourceful! :)
Best wishes,
Ricardo Dias Marques
lists AT ricmarques DOT net
More information about the Koha
mailing list