Software Index
Linux Software Programming  

Tie::Array::QueueExpire for Linux

download download home home   report broken
important software information
company name:
Dulaunoy Fabrice
license: Freeware
minimum requirements: · Perl
functional limitations:
Tie::Array::QueueExpire for Linux description
Tie::Array::QueueExpire is a Perl module that requires Time::HiRes, TokyoCabinet (database and perl module.) The insertion is ms unique ( 0.001 seconds ).

The normal ARRAY function present are

push
pop
shift
exits
scalar
clear
unshift (but put data 1 second before the first entry)

The following function is not completely iplemented.

splice

The following function are not implemented.

extend
store
STORESIZE

The following function are specific of this module.

LAST
FIRST
EXPIRE
OPTIMIZE
PUSH
FETCH

SYNOPSIS

use Tie::Array::QueueExpire;
my $t = tie( my @myarray, "Tie::Array::QueueExpire", '/tmp/db_test.bdb' );
push @myarray, int rand 1000;

# normal ARRAY function
my $data = shift @myarray;
my $data = pop @myarray;
print "this elem exists
" if (exists( $myarray[6]));
print "size = ". scalar( @myarray )."
";

# using the PUSH with an extra parameter to put the new element in futur
# also return the key of the inserted value
for ( 1 .. 10 )
{
say "t=".time.' '. int (($t->PUSH( $_ . ' ' . time, 10 ))/1000);
sleep 1;
}
sleep 10;
# Get the expired elements ( 7 seconds before now )
my $ex = $t->EXPIRE( 7 );

# Get the expired elements
my @EXP = @{$t->EXPIRE($exp)};
# Get and delete the expired elements ( 20 seconds before now )
$ex = $t->EXPIRE(20,1);
my @EXP = @{$t->EXPIRE($exp,1)};

# fetch element
# in scalar context return the value
# in array context return in first element the key and in second, the value
my $a =$t->FETCH(6);
my @b = $t->FETCH(6);
# the normal array fetch is always in scalar mode
my @c=$myarray[6];
say Dumper( $a );
say Dumper( @b );
say Dumper( @c );. The CPAN Search Site - search.cpan.org. Publisher of Tie::Array::QueueExpire for Linux, Author of Tie::Array::QueueExpire for Linux 1.01. Tie::Array::QueueExpire is a Perl module that requires Time::HiRes, TokyoCabinet (database and perl module.) The insertion is ms unique ( 0.001 seconds ). The normal ARRAY function present a
Similar software
Data::LineBuffer for Linux (Popularity: ) : Data::LineBuffer is a Perl module that provides a very rudimentary input push back facility. It provides a layer between the input source and the calling routine which allows data to be pushed back onto the input source for retrieval, as ...
cubicweb-apycot for Linux (Popularity: ) : cubicweb-apycot is a CubicWeb component to store data from the Apycot testing framework and provides multi-criteria reports.. . Publisher of cubicweb-apycot for Linux, Author of cubicweb-apycot for Linux 1.6.0. cubicweb-apycot is a CubicWeb component to store data from the Apycot ...
Chronicle for Linux (Popularity: ) : Chronicle software is a small and fast blog compiler, written in Perl with minimal dependencies.

What is a blog compiler? It is a simple piece of software which will convert a directory of text files into static tree of HTML and ...

eAccelerator for Linux (Popularity: ) : eAccelerator is a further development from mmcache PHP Accelerator & Encoder.

eAccelerator increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated.

This version of the eAccelerator has been successfully tested ...

sqlautocode for Linux (Popularity: ) : sqlautocode is an SQLAlchemy extension to create a Python code model for a database.

This is a slightly different approach to SqlSoup, that lets you use tables without explicitly defining them.

Call autocode.py --help for a list of available self explaining options.

Example:

autocode.py ...

Sanescript for Linux (Popularity: ) : Sanescript is a Python library for creating scripts with sub-commands, and options from the command line, environment, and config files. This module is made up of two separate entities: * Config framework * Scripting framework Commands are specified which are ...
sgwi for Linux (Popularity: ) : sgwi is a web-interface to SQLGrey (SQLGrey is a greylister for Postfix).

sgwi enables you to edit the white- and blacklists as well as the current state of the greylist.

Installation:

- put the files somewhere in your website
- make sure you shield ...

Spreadsheet::WriteExcel for Linux (Popularity: ) : Spreadsheet::WriteExcel module is can be used to create native Excel binary files.

Formatted text and numbers can be written to multiple worksheets in a workbook. Formulas and functions are also supported. It is 100% Perl and doesn't require any Windows libraries ...

threading2 for Linux (Popularity: ) : threading2 is just like the standard threading module, but awesome.

This module is designed as a drop-in replacement and extension for the default "threading" module. It has two main objectives:

* implement primitives using native platform functionality where possible
* expose more sophisticated ...

TurboKid for Linux (Popularity: ) : TurboKid is a Python package that provides a template engine plugin, allowing you to easily use Kid with TurboGears, Buffet or other systems that support python.templating.engines.

Installation:

Kid is the default templating language for TurboGears 1.0 and so TurboKid will be installed ...

tiddlywebwiki for Linux (Popularity: ) : tiddlywebwiki is a plugin for TiddlyWeb that provides a multiuser TiddlyWiki environment.

A collaborative wiki environment using TiddlyWeb and TiddlyWiki.

Requires:

wikklytextrender
a TiddlyWeb plugin that renders tiddlywiki syntax to HTML,
using wikklytext. Available at:
http://github.com/tiddlyweb/tiddlyweb-plugins/tree/master/wikklytextrender
wikklytext
Python package that uses tiddlywiki ...

Tab Filter / Tab Search for Linux (Popularity: ) : Once this extension is installed, from the tab context menu you can select "Filter tabs..." to start a new search... and "Undo tab filter" to show all the hidden tabs.

Searches will be matched against the tab's URL, title or both.
Allows ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar scripts
FreeDCE 1.1.0.7-rc (Popularity: ) : This application represents a free implementation of DCE RPC, with development aimed at implementing DCOM for Linux (and other UNIX systems).
DVD tools for Linux (Popularity: ) : DVD for Linux
Picalog - a KDE2 image catalog for linux (Popularity: ) : Picalog is a KDE2 image cataloging application for linux.
Database registry for Linux (Popularity: ) : A data base containing parameters for Linux.The project is a library,a .h file for prototypes and a program to modify parameters.Use it in your C programs or others. It is ok with user,groups...It has capabilities of heritage.It is hard to ...
USB device support for Linux boot & KGDB (Popularity: ) : Most of Embedded Linux devices have USB client device. This project enables embedded developpers to use USB cable for Linux console and for Linux kernel debugging by KGDB. No more serial cable for Linux console and debug !
Binary-level debugger for Linux (Popularity: ) : A binary-level debugger for Linux i386/32-bit similar to the MS-DOS debugger. No debugging information is necessary. Debugging begins at ld.so, the executable entry point or at main(). There is FPU support.
disassembler for linux (Popularity: ) : Disassembler for linux: will try to provide a gui driven tool to disassemble executables. Written in C++, uses gtk libraries for the gui, and will disassemble binaries from a number of OSses.
TIGCC for Linux (Popularity: ) : The 'TIGCC for Linux' project aims to develop a C compiler for TI Graphing Calculators based on a M68000 processor. The target can be a TI89/89Ti/TI92+/V200 calculator. A such compiler already exists under Windows but this one is for Linux ...
Visual SourceSafe for linux(unix) (Popularity: ) : This project is used for linux(unix) user who wants to access MS sourcesafe via in linux(unix). This program is a classic C/S program, both side is written in java language. Total classes is less then 100K. Hope it helps you!
mcdp for Music and Sound (Popularity: ) : mcdp is a small (maybe the smallest) cd-player for linux operating system.Features:- it compiles/runs out off the box- it can be compiled against dietlibc (~16kb static!)- working play methods: reapeat cd, repeat track and intro- since version 0.3a, minimal cddb ...
Rate me
supported os's
stats
downloads 13
version 1.01
size in Kb 10
popularity   
1400/1272475
user rating 5/10
our rating 0 Stars
share info
Recommend Tie::Array::QueueExpire for Linux
Report spyware
New Software
Popular Software
Latest Reviews