Comment 2 for bug 1613326

Revision history for this message
Mike Rylander (mrylander) wrote : Re: SIPServer UNIVERSAL removed

First, UNIVERSAL has not been removed from Perl. As of 5.22*, trying to import methods (that is, implicitly calling UNIVERSAL->import() via the 'use' line) is a fatal error. That means we can't ask for it to push subs into our namespace, but that's fine because we don't use them that way in any case.

I don't see any reason to remove the inclusion of UNIVERSAL::require. We use that to load the ILS module, and it works just fine.

Removing the line

  use UNIVERSAL qw(can);

seems perfectly fine, though. We don't call bare can() anywhere that I can find.

* http://perldoc.perl.org/perl5220delta.html#use-UNIVERSAL-'...'-is-now-a-fatal-error