[Koha-bugs] [Bug 5399] New: remove useless eval 'use C4::Foo'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Nov 13 05:53:58 CET 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5399
Summary: remove useless eval 'use C4::Foo'
Change sponsored?: ---
Product: Koha
Version: HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P5
Component: Architecture, internals, and plumbing
AssignedTo: gmcharlt at gmail.com
ReportedBy: gmcharlt at gmail.com
QAContact: koha-bugs at lists.koha-community.org
Estimated Hours: 0.0
A couple scripts use constructs like this:
eval "use C4::Acquisition qw/GetBasket/;";
I can think of no good reason to do this for standard C4 modules, especially
since the code never checked to see if the eval succeeded.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list