Herald van der Breggen > Queue-Q-0.10 > Queue::Q::NaiveFIFO::Perl

Download:
Queue-Q-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: Queue-Q-0.23

NAME ^

Queue::Q::NaiveFIFO::Perl - In-memory Perl implementation of the NaiveFIFO queue

SYNOPSIS ^

  use Queue::Q::NaiveFIFO::Perl;
  my $q = Queue::Q::NaiveFIFO::Perl->new;
  $q->enqueue_item("foo");
  my $foo = $q->claim_item;

DESCRIPTION ^

Implements interface defined in Queue::Q::NaiveFIFO: a very simple in-memory implementation using a Perl array as the queue.

METHODS ^

All methods of Queue::Q::NaiveFIFO plus:

new

Constructor. Takes no parameters.

AUTHOR ^

Steffen Mueller, <smueller@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2012 by Steffen Mueller

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: