Thread::Queue - Thread-safe queues

NAME VERSION SYNOPSIS DESCRIPTION QUEUE CREATION BASIC METHODS ADVANCED METHODS NOTES LIMITATIONS SEE ALSO MAINTAINER LICENSE NAME Thread::Queue - Thread-safe queues VERSION This document describes Thread::Queue version 3.05 SYNOPSIS use strict; use warnings; use threads; use Thread::Queue; my $q = Thread::Queue->new(); # A new empty queue # Worker thread my $thr = threads->create( sub { # Thread will loop until no more work while (defined(my $item = $q->deq

Thread - Manipulate threads in Perl (for old code only)

NAME DEPRECATED HISTORY SYNOPSIS DESCRIPTION FUNCTIONS METHODS DEFUNCT SEE ALSO NAME Thread - Manipulate threads in Perl (for old code only) DEPRECATED The Thread module served as the frontend to the old-style thread model, called 5005threads, that was introduced in release 5.005. That model was deprecated, and has been removed in version 5.10. For old code and interim backwards compatibility, the Thread module has been reworked to function as a frontend for the new interpreter threads (ithre

The Arrow Operator

The Arrow Operator "-> " is an infix dereference operator, just as it is in C and C++. If the right side is either a [...] , {...} , or a (...) subscript, then the left side must be either a hard or symbolic reference to an array, a hash, or a subroutine respectively. (Or technically speaking, a location capable of holding a hard reference, if it's an array or hash reference being used for assignment.) See perlreftut and perlref. Otherwise, the right side is a method name or a simple scalar

Text::Wrap - line wrapping to form simple paragraphs

NAME SYNOPSIS DESCRIPTION OVERRIDES EXAMPLES SUBVERSION SEE ALSO AUTHOR LICENSE NAME Text::Wrap - line wrapping to form simple paragraphs SYNOPSIS Example 1 use Text::Wrap; $initial_tab = "\t"; # Tab before first line $subsequent_tab = ""; # All other lines flush left print wrap($initial_tab, $subsequent_tab, @text); print fill($initial_tab, $subsequent_tab, @text); $lines = wrap($initial_tab, $subsequent_tab, @text); @paragraphs = fill($initial_tab, $subsequent_tab, @text); Example 2 us

Text::Tabs - expand and unexpand tabs like unix expand(1) and unexpand(1)

NAME SYNOPSIS DESCRIPTION EXPORTS EXAMPLE SUBVERSION BUGS LICENSE NAME Text::Tabs - expand and unexpand tabs like unix expand(1) and unexpand(1) SYNOPSIS use Text::Tabs; $tabstop = 4; # default = 8 @lines_without_tabs = expand(@lines_with_tabs); @lines_with_tabs = unexpand(@lines_without_tabs); DESCRIPTION Text::Tabs does most of what the unix utilities expand(1) and unexpand(1) do. Given a line with tabs in it, expand replaces those tabs with the appropriate number of spaces. Given a line

Text::ParseWords - parse text into an array of tokens or array of arrays

NAME SYNOPSIS DESCRIPTION EXAMPLES SEE ALSO AUTHORS COPYRIGHT AND LICENSE NAME Text::ParseWords - parse text into an array of tokens or array of arrays SYNOPSIS use Text::ParseWords; @lists = nested_quotewords($delim, $keep, @lines); @words = quotewords($delim, $keep, @lines); @words = shellwords(@lines); @words = parse_line($delim, $keep, $line); @words = old_shellwords(@lines); # DEPRECATED! DESCRIPTION The &nested_quotewords() and &quotewords() functions accept a delimiter (which

Text::Balanced - Extract delimited text sequences from strings.

NAME SYNOPSIS DESCRIPTIONGeneral behaviour in list contexts General behaviour in scalar and void contexts A note about prefixes extract_delimited extract_bracketed extract_variable extract_tagged gen_extract_tagged extract_quotelike extract_quotelike and "here documents" extract_codeblock extract_multiple gen_delimited_pat delimited_pat DIAGNOSTICS AUTHOR BUGS AND IRRITATIONS COPYRIGHT NAME Text::Balanced - Extract delimited text sequences from strings. SYNOPSIS use Text::Balanced qw ( ex

Text::Abbrev - abbrev - create an abbreviation table from a list

NAME SYNOPSIS DESCRIPTION EXAMPLE NAME Text::Abbrev - abbrev - create an abbreviation table from a list SYNOPSIS use Text::Abbrev; abbrev $hashref, LIST DESCRIPTION Stores all unambiguous truncations of each element of LIST as keys in the associative array referenced by $hashref . The values are the original list elements. EXAMPLE $hashref = abbrev qw(list edit send abort gripe); %hash = abbrev qw(list edit send abort gripe); abbrev $hashref, qw(list edit send abort gripe); abbrev(*hash,

Test::Simple - Basic utilities for writing tests.

NAME SYNOPSIS DESCRIPTION EXAMPLE CAVEATS NOTES HISTORY SEE ALSO AUTHORS MAINTAINERS COPYRIGHT NAME Test::Simple - Basic utilities for writing tests. SYNOPSIS use Test::Simple tests => 1; ok( $foo eq $bar, 'foo is bar' ); DESCRIPTION ** If you are unfamiliar with testing read Test::Tutorial first! ** This is an extremely simple, extremely basic module for writing tests suitable for CPAN modules and other pursuits. If you wish to do more complicated testing, use the Test::More module (a d

Test::More - yet another framework for writing test scripts

NAME SYNOPSIS DESCRIPTIONI love it when a plan comes together Test names I'm ok, you're not ok. Module tests Complex data structures Diagnostics Conditional tests Test control Discouraged comparison functions Extending and Embedding Test::More EXIT CODES COMPATIBILITY CAVEATS and NOTES HISTORY SEE ALSOALTERNATIVES TESTING FRAMEWORKS ADDITIONAL LIBRARIES OTHER COMPONENTS BUNDLES AUTHORS MAINTAINERS BUGS SOURCE COPYRIGHT NAME Test::More - yet another framework for writing test scripts SYNOP