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

--- Comment #10 from M. Tompsett <[email protected]> ---
As per comment #6's PS, first one is renamed.

As per comment #5: "I don't understand why use_ok are in the BEGIN block?"
-- I wondered the same thing.

"A BEGIN code block is executed as soon as possible, that is, the moment it is
completely defined, even before the rest of the containing file (or string) is
parsed. You may have multiple BEGIN blocks within a file (or eval'ed string);
they will execute in order of definition. Because a BEGIN code block executes
immediately, it can pull in definitions of subroutines and such from other
files in time to be visible to the rest of the compile and run time. Once a
BEGIN has run, it is immediately undefined and any code it used is returned to
Perl's memory pool."

So, perhaps a memory optimization?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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