|
|
f4a2bf |
From 76f1ac50f4affebf08c1ba71ee1dc31cd2a6a950 Mon Sep 17 00:00:00 2001
|
|
|
f4a2bf |
From: Jitka Plesnikova <jplesnik@redhat.com>
|
|
|
f4a2bf |
Date: Mon, 1 Jun 2020 13:48:33 +0200
|
|
|
f4a2bf |
Subject: [PATCH] Upgrade to 3.14
|
|
|
f4a2bf |
|
|
|
f4a2bf |
---
|
|
|
f4a2bf |
lib/Thread/Queue.pm | 6 +++---
|
|
|
f4a2bf |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
f4a2bf |
|
|
|
f4a2bf |
diff --git a/lib/Thread/Queue.pm b/lib/Thread/Queue.pm
|
|
|
f4a2bf |
index bcdf11d..731d0b2 100644
|
|
|
f4a2bf |
--- a/lib/Thread/Queue.pm
|
|
|
f4a2bf |
+++ b/lib/Thread/Queue.pm
|
|
|
f4a2bf |
@@ -3,7 +3,7 @@ package Thread::Queue;
|
|
|
f4a2bf |
use strict;
|
|
|
f4a2bf |
use warnings;
|
|
|
f4a2bf |
|
|
|
f4a2bf |
-our $VERSION = '3.13';
|
|
|
f4a2bf |
+our $VERSION = '3.14'; # remember to update version in POD!
|
|
|
f4a2bf |
$VERSION = eval $VERSION;
|
|
|
f4a2bf |
|
|
|
f4a2bf |
use threads::shared 1.21;
|
|
|
f4a2bf |
@@ -318,7 +318,7 @@ Thread::Queue - Thread-safe queues
|
|
|
f4a2bf |
|
|
|
f4a2bf |
=head1 VERSION
|
|
|
f4a2bf |
|
|
|
f4a2bf |
-This document describes Thread::Queue version 3.13
|
|
|
f4a2bf |
+This document describes Thread::Queue version 3.14
|
|
|
f4a2bf |
|
|
|
f4a2bf |
=head1 SYNOPSIS
|
|
|
f4a2bf |
|
|
|
f4a2bf |
@@ -547,7 +547,7 @@ VARIABLE"> the queue inside a local block:
|
|
|
f4a2bf |
=item ->peek(INDEX)
|
|
|
f4a2bf |
|
|
|
f4a2bf |
Returns an item from the queue without dequeuing anything. Defaults to the
|
|
|
f4a2bf |
-the head of queue (at index position 0) if no index is specified. Negative
|
|
|
f4a2bf |
+head of queue (at index position 0) if no index is specified. Negative
|
|
|
f4a2bf |
index values are supported as with L<arrays|perldata/"Subscripts"> (i.e., -1
|
|
|
f4a2bf |
is the end of the queue, -2 is next to last, and so on).
|
|
|
f4a2bf |
|
|
|
f4a2bf |
--
|
|
|
f4a2bf |
2.25.4
|
|
|
f4a2bf |
|