Skip to content

Commit

Permalink
use a little less code for signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 6, 2017
1 parent 23e65df commit 1733297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojo/Base.pm
Expand Up @@ -98,8 +98,7 @@ sub import {
if (($flags[1] || '') eq '-signatures') {
Carp::croak 'Subroutine signatures require Perl 5.20+' if $] < 5.020;
require experimental;
@_ = ('warnings', 'signatures');
goto &experimental::import;
experimental->import('signatures');
}
}

Expand Down

0 comments on commit 1733297

Please sign in to comment.