https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30813

--- Comment #42 from Marcel de Rooy <[email protected]> ---
(In reply to Nick Clemens from comment #41)
> (In reply to Marcel de Rooy from comment #40)
> > (In reply to Nick Clemens from comment #39)
> > > Why add the qw(); to the use statements?
> > 
> > That is essential to prevent needlessly importing all default exported
> > routines from the module. (EXPORT_OK routines)
> 
> From bug 17600 I understood that EXPORT_OK was 'on demand' i.e. only
> explicitly named subroutines are imported. Is that incorrect?

Ah. You might very well be right. EXPORT versus EXPORT_OK
So yes, might not be needed then. But explicitly stating that you dont want to
import cannot be wrong either. I would recommend keeping them.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to