Queue::Q::NaiveFIFO::Perl - In-memory Perl implementation of the NaiveFIFO queue
use Queue::Q::NaiveFIFO::Perl; my $q = Queue::Q::NaiveFIFO::Perl->new; $q->enqueue_item("foo"); my $foo = $q->claim_item;
Implements interface defined in Queue::Q::NaiveFIFO: a very simple in-memory implementation using a Perl array as the queue.
All methods of Queue::Q::NaiveFIFO plus:
Constructor. Takes no parameters.
Steffen Mueller, <smueller@cpan.org>
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.
To install Queue::Q, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Queue::Q
CPAN shell
perl -MCPAN -e shell install Queue::Q
For more information on module installation, please visit the detailed CPAN module installation guide.