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

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from David Cook <[email protected]> ---
(In reply to Aleisha Amohia from comment #6)
> For the sake of learning and documentation, it'd be awesome to note here why
> it's important for modules to return 1 :)

https://perldoc.perl.org/functions/require

"The file must return true as the last statement to indicate successful
execution of any initialization code, so it's customary to end such a file with
1; unless you're sure it'll return true otherwise. But it's better just to put
the 1;, in case you add more statements."

-- 
You are receiving this mail because:
You are the assignee for the bug.
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