Apache-Session-Browseable
    
    
  
  
  
view release on metacpan or search on metacpan
lib/Apache/Session/Browseable/Store/DBI.pm view on Meta::CPAN
    foreach my $f (@$index) {
        $self->{insert_sth}->bind_param( $i, $session->{data}->{$f} );
        $i++;
    }
    $self->{insert_sth}->execute;
    $self->{insert_sth}->finish;
}
sub update {
    my $self    = shift;
    my $session = shift;
    $self->connection($session);
    local $self->{dbh}->{RaiseError} = 1;
    my $index =
      ref( $session->{args}->{Index} )
      ? $session->{args}->{Index}
    
  
  
  lib/Apache/Session/Browseable/Store/LDAP.pm view on Meta::CPAN
    my $msg = $self->ldap->add(
        $self->{args}->{ldapAttributeId} . "=$id,"
          . $self->{args}->{ldapConfBase},
        attrs => $attrs,
    );
    $self->ldap->unbind() && delete $self->{ldap};
    $self->logError($msg) if ( $msg->code );
}
sub update {
    my $self    = shift;
    my $session = shift;
    $self->{args} = $session->{args};
    $self->{args}->{ldapObjectClass}      ||= 'applicationProcess';
    $self->{args}->{ldapAttributeId}      ||= 'cn';
    $self->{args}->{ldapAttributeContent} ||= 'description';
    $self->{args}->{ldapAttributeIndex}   ||= 'ou';
    my $index =
      ref( $session->{args}->{Index} )
    
  
  
  lib/Apache/Session/Browseable/Store/Patroni.pm view on Meta::CPAN
    }
    die $@ if $@;
    return $res;
}
sub insert {
    my $self = shift;
    return $self->_try( 'insert', @_ );
}
sub update {
    my $self = shift;
    return $self->_try( 'update', @_ );
}
sub materialize {
    my $self = shift;
    return $self->_try( 'materialize', @_ );
}
sub remove {
    
  
  
  
( run in 0.562 second using v1.01-cache-2.11-cpan-0a6323c29d9 )