]> git.evergreen-ils.org Git - working/SIPServer.git/commit
LP#1613326 change UNIVERSAL::can import, style user/jeff/lp1613326_fix_universal_can
authorJeff Godin <jgodin@tadl.org>
Tue, 30 Aug 2016 19:49:28 +0000 (15:49 -0400)
committerJeff Godin <jgodin@tadl.org>
Thu, 29 Sep 2016 15:15:08 +0000 (11:15 -0400)
commit19b8c9fc5ef4c44c5fc96c19574482335fffb317
treeccae73004d2bcad197a421f153fd142701426ac6
parent69fd4653d871a26c1ea532cacf762ac81ddeeb5c
LP#1613326 change UNIVERSAL::can import, style

Remove deprecated (and now fatal) attempt to import a function from
UNIVERSAL.

To quote perl5220delta:

> use UNIVERSAL '...' is now a fatal error
>
> Importing functions from UNIVERSAL has been deprecated since
> v5.12, and is now a fatal error.

Also, adjust the style by which we call "can" on $self->{ils}

Thanks to Blake at MOBIUS for originally reporting this issue, and
proposing a fix.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
SIPServer.pm
Sip/MsgType.pm