NAME
IPC::PrettyPipe::Queue::Element - role for an element in an IPC::PrettyPipe::Queue
SYNOPSIS
with 'IPC::PrettyPipe::Queue::Element';
DESCRIPTION
This role should be composed into objects which will be contained in IPC::PrettyPipe::Queue objects. No object should be in more than one queue at a time.
METHODS
The following methods are available:
- first
-
$is_first = $element->first;
This returns true if the element is the first in its containing queue.
- last
-
$is_last = $element->last;
This returns true if the element is the last in its containing queue.
COPYRIGHT & LICENSE
Copyright 2013 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
AUTHOR
Diab Jerius <djerius@cfa.harvard.edu>