Queue::Q4M

Simple Interface To q4m
Download

Queue::Q4M Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Daisuke Maki
  • Publisher web site:
  • http://search.cpan.org/~dmaki/

Queue::Q4M Tags


Queue::Q4M Description

Simple Interface To q4m Queue::Q4M is a simple Perl wrapper to q4m, which is an implementation of a queue using mysql.SYNOPSIS use Queue::Q4M; my $q = Queue::Q4M- >connect( connect_info = > , ); for (1..10) { $q- >insert($table, \%fieldvals); } while ($q- >next($table)) { my ($col1, $col2, $col3) = $q- >fetch($table, \@fields); print "col1 = $col1, col2 = $col2, col3 = $col3\n"; } while ($q- >next($table)) { my $cols = $q- >fetch_arrayref($table, \@fields); print "col1 = $cols- >, col2 = $cols- >, col3 = $cols- >\n"; } while ($q- >next($table)) { my $cols = $q- >fetch_hashref($table, \@fields); print "col1 = $cols- >{col1}, col2 = $cols- >{col2}, col3 = $cols- >{col3}\n"; } # to use queue_wait(table_cond1,table_cond2,timeout) while (my $which = $q- >next(@table_conds)) { # $which contains the table name } $q- >disconnect; Requirements: · Perl


Queue::Q4M Related Software