]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Cgit.pm
use "\&" where possible when referring to subroutines
[public-inbox.git] / lib / PublicInbox / Cgit.pm
index 9a51b451cfb59413d047cc21ca84b00ba4aaf64e..fb0d0e60244ab4e1599a3296183ff2de46490094 100644 (file)
@@ -10,9 +10,8 @@ use strict;
 use PublicInbox::GitHTTPBackend;
 use PublicInbox::Git;
 # not bothering with Exporter for a one-off
-*input_prepare = *PublicInbox::GitHTTPBackend::input_prepare;
-*serve = *PublicInbox::GitHTTPBackend::serve;
-use warnings;
+*input_prepare = \&PublicInbox::GitHTTPBackend::input_prepare;
+*serve = \&PublicInbox::GitHTTPBackend::serve;
 use PublicInbox::Qspawn;
 use PublicInbox::WwwStatic qw(r);