Silence deprecation warning in OpenILS::Utils::Normalize
Bug #1220387 reported by
Jason Stephenson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
EG Version: master
OSRF Version: master
PG version: Doesn't matter.
Any time a script uses OpenIL:
This branch shuts Perl up by not using the import symbol. It hasn't been necessary in, like, ages and none of the other OpenILS code uses it. Frankly, it is quite annoying when you write a lot of custom scripts/programs.
tags: | added: normalizer pullrequest utils |
Changed in evergreen: | |
milestone: | none → 2.5.0-beta1 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hmm, this patch does not silence the warning for me. We may be talking about different warnings. I pushed another fix to silence this one:
UNIVERSAL->import is deprecated and will be removed in a future perl at Open-ILS/ src/perlmods/ lib/OpenILS/ Utils/Normalize .pm line 6
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1220387- silence- of-the- Normalizer2- This-Time- Its-Personal