Help for this page

Select Code to Download


  1. or download this
    foreach my $auth (@auth_methods) {
        no strict 'refs';
        my $rv = &{$auth . "::authorize"}($user, $pass);
        ...
    }
    
  2. or download this
    foreach my $auth (@auth_methods) {
        my $obj = $auth->new;
        my $rv = $obj->authorize($user, $pass);
        ...
    }