Bdb.

Asynchronous Berkeley DB Access
Scarica ora

Bdb. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Marc Lehmann
  • Sito web dell'editore:
  • http://www.goof.com/pcg/marc/

Bdb. Tag


Bdb. Descrizione

Accesso Asincrono Berkeley DB BDB è un modulo Perl che fornisce Asynchronous Berkeley DB Access.Synopsis Utilizzare BDB; My $ env = db_env_create; Mkdir "BDTEst", 0700; db_env_open $ env, "bdtest", bdb :: init_lock | BDB :: Init_log | BDB :: init_mpool | BDB :: init_txn | BDB :: Recover | BDB :: Uso_environ | BDB :: Crea, 0600; $ Env-> set_flags (BDB :: AUTO_COMMIT | BDB :: TXN_NOSYNC, 1); My $ db = db_create $ env; db_open $ db, undef, "tabella", undef, bdb :: btree, bdb :: auto_commit | BDB :: Crea | BDB :: read_uncommessed, 0600; db_put $ db, undef, "tasto", "Dati", 0, sub {db_del $ db, undef, "tasto"; }; DB_SYNC $ DB; # Quando usi anche Coro, Gestione è facile: Usa Coro :: BDB; # Integrazione automatica del ciclo di evento con eyevent: utilizzare anyevent :: bdb; # Elaborazione automatica dei risultati con EV: My $ Watcher = EV :: IO BDB :: POLL_FILENO, EV :: Leggi, \ BDB :: POLL_CB; # con GLIB: ADD_WATCH GLIB :: IO BDB :: POLL_FILENO, IN => SUB {BDB :: POLL_CB; 1};; # o semplicemente lavarsi manualmente BDB :: Flush; Requisiti: · Perl.


Bdb. Software correlato

pytnef.

correzioni di bug \ miglioramenti per tneflib.py da Pytnef 0.2 ...

146

Scarica