IPC::PrettyPipe::Queue - A simple queue
version 0.12
$q = IPC::PrettyPipe::Queue->new; $q->push( $elem ); $elements = $q->elements; $is_q_empty = $q->empty;
This module provides a simple queue for objects which perform the IPC::PrettyPipe::Queue::Element role. No object should be in more than one queue at a time.
The following methods are available:
$q = IPC::PrettyPipe::Queue->new;
Construct an empty queue.
$q->push( $element );
Push the element on the end of the queue. The element must perform the IPC::PrettyPipe::Queue::Element role.
$is_q_empty = $q->empty;
Returns true if there are no elements in the queue.
$elements = $q->elements;
Returns an arrayref containing the queue's elements.
$nelements = $q->nelements;
Returns the number of elements in the queue.
Copyright 2014 Smithsonian Astrophysical Observatory
This software is released under the GNU General Public License. You may find a copy at
http://www.fsf.org/copyleft/gpl.html
Diab Jerius <djerius@cfa.harvard.edu>
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=IPC-PrettyPipe or by email to bug-IPC-PrettyPipe@rt.cpan.org.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
The development version is on github at https://github.com/djerius/ipc-prettypipe and may be cloned from git://github.com/djerius/ipc-prettypipe.git
Please see those modules/websites for more information related to this module.
IPC::PrettyPipe
Diab Jerius <djerius@cpan.org>
This software is Copyright (c) 2018 by Smithsonian Astrophysical Observatory.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install IPC::PrettyPipe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::PrettyPipe
CPAN shell
perl -MCPAN -e shell install IPC::PrettyPipe
For more information on module installation, please visit the detailed CPAN module installation guide.