[Koha] Re: use CGI::Carp to catch all perl errors [was: koha on debian etch 4.0]

Beda Szukics beda at muri-gries.ch
Wed Oct 31 19:04:52 NZDT 2007


Since I'm fighting with the same problem: 

Rick Welykochy schrieb: 

> Grant Johnson wrote: 
> 
> When this happens, you of course want to see what the error is. 
> 
> The following always works for me: 
> 
> 1. find the file causing trouble, e.g. addbiblio.pl in your case 
> 
> 2. add the following line after the "use CGI" line: 
> 
>    use CGI::Carp qw(fatalsToBrowser); 
> 
>    Now, when any error occurs it will be displayed in your browser.

> 
> Try the above and let the list know what error you have.

Here it is: 

Arguments must be MARC::Field object at 
/usr/local/koha/intranet/modules/C4/Biblio.pm line 1440 


Btw: Is there a way to _remove_ all perl-related stuff from my server (not 
only the packages I installed with apt-get, but also all the modules 
installed from CPAN) so I could try to start installing again? 


Greetings           Beda


More information about the Koha mailing list