Queue :: Q4m.

interface simples para o Q4M
Baixe Agora

Queue :: Q4m. Classificação e resumo

Propaganda

  • Rating:
  • Licença:
  • Perl Artistic License
  • Preço:
  • FREE
  • Nome do editor:
  • Daisuke Maki
  • Site do editor:
  • http://search.cpan.org/~dmaki/

Queue :: Q4m. Tag


Queue :: Q4m. Descrição

Interface simples para Q4M Fila :: Q4M é um wrapper Perl simples para Q4M, que é uma implementação de uma fila usando mysql.synopsis Use a fila :: Q4M; My $ Q = File :: Q4M-> Connect (Connect_Info => ,); para (1..10) {$ {-> inserir ($ tabela, \% fieldvals); } Enquanto ($ Q-> Próximo ($ Tabela)) {MEU ($ COL1, $ COL2, $ COL3) = $ Q-> FETG ($ table, \ @fields); imprimir "col1 = $ col1, col2 = $ col2, col3 = $ col3 \ n"; } ENQUANTO ($ Q-> Next ($ table)) {my $ cols = $ Q-> fetch_arrayref ($ tabela, \ @fields); Imprimir "Col1 = $ Cols-> , Col2 = $ Cols-> , Col3 = $ Cols-> \ n"; } Enquanto ($ Q-> Próximo ($ table)) {my $ cols = $ Q-> fetch_hahref ($ tabela, \ @fields); imprimir "col1 = $ cols-> {col1}, col2 = $ cols-> {col2}, col3 = $ cols-> {col3} \ n"; } # Para usar a queue_wait (table_cond1, table_cond2, tempo limite) enquanto (meu $ qual = $ Q-> próximo (@table_conds)) {# $ que contém o nome da tabela} $ Q-> desconexão; Requisitos: · Perl.


Queue :: Q4m. Software Relacionado

Scgi.

Para implementar uma interface SCGI para um servidor de aplicativos ...

162

Download