]> git.evergreen-ils.org Git - SIPServer.git/commit
LP#1613326 change UNIVERSAL::can import, style
authorJeff Godin <jgodin@tadl.org>
Tue, 30 Aug 2016 19:49:28 +0000 (15:49 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 29 Sep 2016 15:29:59 +0000 (11:29 -0400)
commitbb0bdfed2ed0ebb106710fa6ae36bacd4fabb4d7
tree64449c1a3eaf6362e6d646e3148a80bea4554432
parent4551a053578600451489ab165a8758a768977195
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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
SIPServer.pm
Sip/MsgType.pm