perldoc > POE::Queue::Array

📛 NAME

POE::Queue::Array - a high-performance array-based priority queue

🚀 Quick Reference

Use CaseCommandDescription
Create a new queuemy $queue = POE::Queue::Array->new();Creates a new array-based priority queue.
Enqueue an item$queue->enqueue($priority, $item);Adds an item with a given priority.
Dequeue an itemmy $item = $queue->dequeue();Removes and returns the highest priority item.
Check if queue is empty$queue->is_empty();Returns true if the queue has no items.

📋 SYNOPSIS

See POE::Queue.

📝 DESCRIPTION

This class is an implementation of the abstract POE::Queue interface. As such, its documentation may be found in POE::Queue.

POE::Queue::Array implements a priority queue using Perl arrays, splice, and copious application of cleverness.

Despite its name, POE::Queue::Array may be used as a stand-alone priority queue without the rest of POE.

👁️ SEE ALSO

🐛 BUGS

None currently known.

📜 AUTHORS & COPYRIGHTS

Please see POE for more information about authors, contributors, and POE's licensing.

POE::Queue::Array
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION 👁️ SEE ALSO 🐛 BUGS 📜 AUTHORS & COPYRIGHTS

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-23 04:29 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!