Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.221.773 Times

Array::Window 1.02

Company: Adam Kennedy
Date Added: September 16, 2013  |  Visits: 350

Array::Window

Report Broken Link
Printer Friendly Version


Product Homepage
Download (37 downloads)



Many applications require that a large set of results be broken down into a smaller set of 'windows', or 'pages' in web language. Array::Window is a Perl module that implements an algorithm specifically for dealing with these windows. It is very flexible and permissive, making adjustments to the window as needed.<br /><br />Note that this is NOT under Math:: for a reason. It doesn't implement in a pure fashion, it handles idiosyncracies and corner cases specifically relating to the presentation of data.<br /><br />SYNOPSIS<br /><br /> # Your search routine returns an reference to an array<br /> # of sorted results of unknown quantity.<br /> my $results = SomeSearch->find( 'blah' );<br /> <br /> # We want to display 20 results at a time<br /> my $window = Array::Window->new(<br /> source => $results,<br /> window_start => 0,<br /> window_length => 20,<br /> );<br /> <br /> # Do we need to split into pages at all?<br /> my $show_pages = $window->required;<br /> <br /> # Extract the subset from the array<br /> my $subset = $window->extract( $results );<br /> <br /> # Are there 'first', 'last', 'next' or 'previous' windows?<br /> my $first = $window->first;<br /> my $last = $window->last;<br /> my $next = $window->next;<br /> my $previous = $window->previous;

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: All3f Array Arraywindowgtnew Blah Display Extract Pages Quantity Reference Results Somesearchgtfind Sorted Source Specifically Split Subset Unknown Window Window Length Window Start
Users rating: 0/10

License: Freeware Size: 30.72 KB
USER REVIEWS
More Reviews or Write Review


ARRAY::WINDOW RELATED
Automation Tools  -  Extract Pages from PDF 1.0.5
Extract Pages from PDF is a free and easy to use Automator workflow which will extract all pages from one PDF as individual PDFs. The only thing it requires is that you enter how many pages you want to extract.
20.48 KB  
Business  -  pdfMechanic 0.3.4
pdfMechanic is a small cross platform program based on Qt4 toolkit that allows you to merge multiple PDF's, extract pages from PDF and convert PDF to text or HTML. Using pdfMechanic you'll be able to easily manage your Portable Document Format...
6.6 MB  
Programming  -  My Translation 0.4
Was optimized translation engine which used MySQL classes and PHP a array to translated complete PHP pages to predefined languages. But in real world it's the worst way to do translations. Please, use GetText PHP functions instead of a database!!!
3.79 KB  
Web Searching Tools  -  FirstStop WebSearch Free Edition 5.0b 2
Tired of flipping through pages of search results, or jumping from one search engine to the next? FirstStop WebSearch starts where search engines left off replacing static search results with dynamic presentation and powerful management features....
1.41 KB  
Networking  -  remove page from search results 0.0.1
remove pages from search results.Installation : 1. Upload remove-page-from-search-results.php to the /wp-content/plugins/ directory 2. Activate the plugin through the 'Plugins' menu in WordPress
10 KB  
Backup Utilities  -  7-Zip-JBinding 1.0
Native (JNI) cross-platform library to extract (password protected, multi-part) 7z Zip Rar Tar Split Lzma Iso HFS GZip Cpio BZip2 Z Arj Chm Lhz Cab Nsis Deb Rpm Udf archives from Java. Archive creation and more formats coming soon.
5.32 MB  
Database Tools  -  SQL Parse Convert to Tree Array 0.12
SQL Parse Convert to Tree Array takes a given SQL query and parse it to extract the structure or queries and sub-queries. The resulting structure is returned as an array.SELECT, INSERT, UPDATE and DELETE queries are currently supported.
10 KB  
Networking  -  Pages Posts 2.1
Ever wanted different pages on your blog to display different types of post? You might have news and changelog pages and want to display categorized posts in each one.With Pages Posts you can! You can configure a page to display posts only from a...
143.36 KB  
Database Tools  -  MySQL Paginator 1.0
MySQL Paginator can be used execute MySQL database SQL queries and display the results split in multiple HTML pages. It can connect to a given MySQL database and execute an SQL table.Then MySQL Paginator can display a limited number of results in...
10 KB  
Libraries  -  Tie::File 0.96
Tie::File can access the lines of a disk file via a Perl array. SYNOPSIS # This file documents Tie::File version 0.96 use Tie::File; tie @array, Tie::File, filename or die ...; $array[13] = blah; # line 13 of the file is now blah print...
67.58 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB