On 2009/02/10, at 7:30 PM, John Beppu wrote:

> Give C4::Debug an import() function like this:
>
> sub import {
>         if ($debug) {
>                 require Smart::Comments;
>                 Smart::Comments->import;
>                 require Data::Dumper;
>                 Data::Dumper->import;
>         }
>         C4::Debug->export_to_level(1, @_);
> }
>


hot damn - that works perfectly ;)

thanks John!

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to