]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwListing.pm
use "\&" where possible when referring to subroutines
[public-inbox.git] / lib / PublicInbox / WwwListing.pm
index 365743cfdf90d13bc4b56b95297dc1d04e93f716..0be3764c1a3ee28ab908200497336a1a9b42bf77 100644 (file)
@@ -60,9 +60,9 @@ sub list_404 ($$) { [] }
 
 # TODO: +cgit
 my %VALID = (
-       all => *list_all,
-       'match=domain' => *list_match_domain,
-       404 => *list_404,
+       all => \&list_all,
+       'match=domain' => \&list_match_domain,
+       404 => \&list_404,
 );
 
 sub set_cb ($$$) {