https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36792
Bug ID: 36792
Summary: limit POSIX imports
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
A Marcel's QA patch to Bug 36552 added use POSIX; in two spots. In
https://metacpan.org/pod/POSIX we read:
CAVEATS
Everything is exported by default (with a handful of exceptions). This is an
unfortunate backwards compatibility feature and its use is strongly
discouraged. You should either prevent the exporting (by saying use POSIX ();,
as usual) and then use fully qualified names (e.g. POSIX::SEEK_END), or give an
explicit import list. If you do neither and opt for the default (as in use
POSIX;), you will import hundreds and hundreds of symbols into your namespace.
--
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/