Why Drupal does not see permission from custom module? I tried disable and reinstall module, but with no luck, clearing cache does not work too. Module name is bip_menu_perm:

/**
 * Implements hook_perm()
 */
function bip_menu_perm_perm() {
    drupal_set_message('test');
    return array(
        'administer menu permissions' =&gt; array(
            'title' =&gt; t('Administer menu publishing permissions per user'),
            'description' =&gt; t('Users with this roles can edit menu publishing permissions'),
        ),
    );
}


What I am doing wrong here? This function does not invoke on permissions page.
The hook is called hook_permission() in Drupal 7, it changed names from hook_perm() (Drupal 6)


  This hook can supply permissions that the module defines, so that they can be selected on the user permissions page and used to grant or restrict access to actions the module performs.


Make sure you clear Drupal's caches once you've made the change so it gets picked up.