data 1.20
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4921
Test::Data 1.20
Test::Data is a Perl module to test functions for particular variable types. more>>
Test::Data is a Perl module to test functions for particular variable types.
SYNOPSIS
use Test::Data qw(Scalar Array Hash Function);
Test::Data provides utility functions to check properties and values of data and variables.
Functions
Plug-in modules define functions for each data type. See the appropriate module.
How it works
The Test::Data module simply emports functions from Test::Data::* modules. Each module defines a self-contained function, and puts that function name into @EXPORT. Test::Data defines its own import function, but that does not matter to the plug-in modules.
If you want to write a plug-in module, follow the example of one that already exists. Name the module Test::Data::Foo, where you replace Foo with the right name. Test::Data should automatically find it.
<<lessSYNOPSIS
use Test::Data qw(Scalar Array Hash Function);
Test::Data provides utility functions to check properties and values of data and variables.
Functions
Plug-in modules define functions for each data type. See the appropriate module.
How it works
The Test::Data module simply emports functions from Test::Data::* modules. Each module defines a self-contained function, and puts that function name into @EXPORT. Test::Data defines its own import function, but that does not matter to the plug-in modules.
If you want to write a plug-in module, follow the example of one that already exists. Name the module Test::Data::Foo, where you replace Foo with the right name. Test::Data should automatically find it.
Download (0.008MB)
Added: 2007-05-03 License: Perl Artistic License Price:
904 downloads
DBD::Teradata 1.20
DBD::Teradata is Perl module with a DBI driver for Teradata. more>>
DBD::Teradata is Perl module with a DBI driver for Teradata.
SYNOPSIS
use DBI;
$dbh = DBI->connect(dbi:Teradata:hostname, user, password);
See DBI for more information.
Refer to the included tdatdbd.html.
<<lessSYNOPSIS
use DBI;
$dbh = DBI->connect(dbi:Teradata:hostname, user, password);
See DBI for more information.
Refer to the included tdatdbd.html.
Download (0.036MB)
Added: 2006-10-05 License: Perl Artistic License Price:
664 downloads
Pang 1.20
Pang for Linux is a port of the arcade ball game Pang! more>>
Pang for Linux is a port of the arcade ball game Pang!
Ball are bouncing, when you shoot a ball, it split in two more little ball, more dangerous.
You must blank the screen to go to next level ! Its a port of an old arcade game.
<<lessBall are bouncing, when you shoot a ball, it split in two more little ball, more dangerous.
You must blank the screen to go to next level ! Its a port of an old arcade game.
Download (1.3MB)
Added: 2006-01-06 License: Freeware Price:
820 downloads
File::Data 1.12
File::Data is a Perl module as a interface to file data. more>>
File::Data is a Perl module as a interface to file data.
Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface.
Note that the file needs to exist prior to using this module!
See new()
SYNOPSIS
use strict;
use File::Data;
my $o_dat = File::Data->new(./t/example);
$o_dat->write("complete file contentsn");
$o_dat->prepend("first linen"); # line 0
$o_dat->append("original second (last) linen");
$o_dat->insert(2, "new second linen"); # inc. zero!
$o_dat->replace(line, LINE);
print $o_dat->READ;
Or, perhaps more seriously :-}
my $o_sgm = File::Data->new(./sgmlfile);
print "new SGML data: ".$o_sgm->REPLACE(
s*((?s).*)s* ,
qq| key="val" |,
) if $o_sgm;
See METHODS and EXAMPLES.
IMPORTANT
lowercase method calls return the object itself, so you can chain calls.
my $o_obj = $o_dat->read; # ! READ; # !<<less
Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface.
Note that the file needs to exist prior to using this module!
See new()
SYNOPSIS
use strict;
use File::Data;
my $o_dat = File::Data->new(./t/example);
$o_dat->write("complete file contentsn");
$o_dat->prepend("first linen"); # line 0
$o_dat->append("original second (last) linen");
$o_dat->insert(2, "new second linen"); # inc. zero!
$o_dat->replace(line, LINE);
print $o_dat->READ;
Or, perhaps more seriously :-}
my $o_sgm = File::Data->new(./sgmlfile);
print "new SGML data: ".$o_sgm->REPLACE(
s*((?s).*)s* ,
qq| key="val" |,
) if $o_sgm;
See METHODS and EXAMPLES.
IMPORTANT
lowercase method calls return the object itself, so you can chain calls.
my $o_obj = $o_dat->read; # ! READ; # !<<less
Download (0.013MB)
Added: 2007-04-26 License: Perl Artistic License Price:
914 downloads
DigiCam 1.20
DigiCam is a command-line interface to Kodak DC21x Digital Cameras. more>>
DigiCam is a command-line interface to Kodak DC21x Digital Cameras. I own a Kodak DC215Zoom and its pretty shitty.
Ive compared images my camera makes with others, and I guess there is just something subtly screwed with my camera.
Focus mechanics or something. Ill probably dump this crap and get a real camera one of these days.
What you can do with it:
* Display camera or specific picture information;
* Display number of pictures in the camera;
* Delete any picture from the camera;
* Delete all pictures from the camera in one step;
* Take picture, save to file, delete picture from the camera in one step;
* Retrieve any picture and save to file;
* Retrieve all pictures, and save to current directory as imageNNN.jpg;
* Set resolution to High or Low before taking a picture;
* Set picture quality before taking a picture;
* Set Flash mode before taking a picture;
* Set Zoom value before taking a picture;
Run "cam" without any parameters for a complete list of possible options. Some options can be combined to make cam usable inside scripts. Please use common sense, and dont combine options like -d and -R, or -t and -d
<<lessIve compared images my camera makes with others, and I guess there is just something subtly screwed with my camera.
Focus mechanics or something. Ill probably dump this crap and get a real camera one of these days.
What you can do with it:
* Display camera or specific picture information;
* Display number of pictures in the camera;
* Delete any picture from the camera;
* Delete all pictures from the camera in one step;
* Take picture, save to file, delete picture from the camera in one step;
* Retrieve any picture and save to file;
* Retrieve all pictures, and save to current directory as imageNNN.jpg;
* Set resolution to High or Low before taking a picture;
* Set picture quality before taking a picture;
* Set Flash mode before taking a picture;
* Set Zoom value before taking a picture;
Run "cam" without any parameters for a complete list of possible options. Some options can be combined to make cam usable inside scripts. Please use common sense, and dont combine options like -d and -R, or -t and -d
Download (0.014MB)
Added: 2006-10-19 License: GPL (GNU General Public License) Price:
1104 downloads
Gimp::Data 1.211
Gimp::Data is a Perl module to set and get state data. more>>
Gimp::Data is a Perl module to set and get state data.
SYNOPSIS
use Gimp::Data;
$Gimp::Data{value1} = "Hello";
print $Gimp::Data{value1},", World!!n";
With this module, you can access plugin-specific (or global) data in Gimp, i.e. you can store and retrieve values that are stored in the main Gimp application.
An example would be to save parameter values in Gimp, so that on subsequent invocations of your plug-in, the user does not have to set all parameter values again (Gimp::Fu does this already).
<<lessSYNOPSIS
use Gimp::Data;
$Gimp::Data{value1} = "Hello";
print $Gimp::Data{value1},", World!!n";
With this module, you can access plugin-specific (or global) data in Gimp, i.e. you can store and retrieve values that are stored in the main Gimp application.
An example would be to save parameter values in Gimp, so that on subsequent invocations of your plug-in, the user does not have to set all parameter values again (Gimp::Fu does this already).
Download (0.26MB)
Added: 2006-10-26 License: Perl Artistic License Price:
1093 downloads
Data::Region 1.0
Data::Region Perl module can define hierarchical areas with behaviors. more>>
Data::Region Perl module can define hierarchical areas with behaviors.
SYNOPSIS
use Data::Region;
$r = Data::Region->new( 8.5, 11, { data => PageObj->new() } );
$r->data( PageObj->new() );
foreach my $c ( $r->subdivide(2.5,3) ) {
$a = $c->area(0.25,0.25, 2.25,2.75);
$a2 = $c->area(0.25,0.25, -0.25,-0.25); # as offset from lower right
($t,$m,$b) = $a->split_vertical(2,5,1); # sequential heights
($t,$m,$b) = $a->split_vertical_abs(0,2,7); # absolute offsets
($l,$r) = $a->split_horizontal(2); # $l gets width of 2, $r gets the rest
my($x1,$y1,$x2,$y2) = $a->coords();
my $data = $a->data(); # data inherits from parent, if not set
$a->action( sub { $data->setfont("Times-Bold", 10);
$data->text($x1,$y1, "Some Text");
$data->line( $_[0]->coords() ); # the non-closure way
} );
}
$r->render(); # heirarchically perform all the actions
# Get some info about a region:
($w,$h) = ( $a->width(), $a->height() );
($x1,$y1, $x2,$y2) = $a->coords();
($x1,$y1) = $a->top_left();
($x2,$y1) = $a->top_right();
($x1,$y2) = $a->bottom_left();
($x2,$y2) = $a->bottom_right();
Data::Region allows you to easily define a set of nested (2-dimensional) areas, defined by related coordinates, and to associate actions with them. The actions can then be performed hierarchically from any root of the tree.
Data::Region was written to provide an easy way to do simple page layout, but has, perhaps, more general uses.
<<lessSYNOPSIS
use Data::Region;
$r = Data::Region->new( 8.5, 11, { data => PageObj->new() } );
$r->data( PageObj->new() );
foreach my $c ( $r->subdivide(2.5,3) ) {
$a = $c->area(0.25,0.25, 2.25,2.75);
$a2 = $c->area(0.25,0.25, -0.25,-0.25); # as offset from lower right
($t,$m,$b) = $a->split_vertical(2,5,1); # sequential heights
($t,$m,$b) = $a->split_vertical_abs(0,2,7); # absolute offsets
($l,$r) = $a->split_horizontal(2); # $l gets width of 2, $r gets the rest
my($x1,$y1,$x2,$y2) = $a->coords();
my $data = $a->data(); # data inherits from parent, if not set
$a->action( sub { $data->setfont("Times-Bold", 10);
$data->text($x1,$y1, "Some Text");
$data->line( $_[0]->coords() ); # the non-closure way
} );
}
$r->render(); # heirarchically perform all the actions
# Get some info about a region:
($w,$h) = ( $a->width(), $a->height() );
($x1,$y1, $x2,$y2) = $a->coords();
($x1,$y1) = $a->top_left();
($x2,$y1) = $a->top_right();
($x1,$y2) = $a->bottom_left();
($x2,$y2) = $a->bottom_right();
Data::Region allows you to easily define a set of nested (2-dimensional) areas, defined by related coordinates, and to associate actions with them. The actions can then be performed hierarchically from any root of the tree.
Data::Region was written to provide an easy way to do simple page layout, but has, perhaps, more general uses.
Download (0.008MB)
Added: 2007-08-03 License: Perl Artistic License Price:
812 downloads
Roman 1.20
Roman is a Perl module for conversion between Roman and Arabic numerals. more>>
Roman is a Perl module for conversion between Roman and Arabic numerals.
SYNOPSIS
use Roman;
$arabic = arabic($roman) if isroman($roman);
$roman = Roman($arabic);
$roman = roman($arabic);
This package provides some functions which help conversion of numeric notation between Roman and Arabic.
Functions
isroman
Tests if argument is valid roman number
arabic
roman => arabic
Roman
arabic => roman
roman
Same as Roman, lowercase
<<lessSYNOPSIS
use Roman;
$arabic = arabic($roman) if isroman($roman);
$roman = Roman($arabic);
$roman = roman($arabic);
This package provides some functions which help conversion of numeric notation between Roman and Arabic.
Functions
isroman
Tests if argument is valid roman number
arabic
roman => arabic
Roman
arabic => roman
roman
Same as Roman, lowercase
Download (0.003MB)
Added: 2007-05-21 License: Perl Artistic License Price:
886 downloads
Data::Walker 1.05
Data::Walker is a tool for navigating through Perl data structures. more>>
Data::Walker is a tool for navigating through Perl data structures.
SYNOPSIS
Without any explicit objects:
use Data::Walker;
Data::Walker->cli( $data_structure );
Object-style invocation:
use Data::Walker;
my $w = new Data::Walker;
$w->walk( $data_structure );
$w->ls("-al");
$w->pwd;
$w->cli;
Importing methods into the current package:
use Data::Walker qw(:direct);
walk $data_structure;
ls "-al";
pwd;
cli;
This module allows you to "walk" an arbitrary Perl data structure in the same way that you can walk a directory tree from a UNIX command line. It reuses familiar unix commands (such as "ls", "cd", "pwd") and applies these to data structures.
It has a command-line interface which behaves like a UNIX shell. You can also use object-style sytax to invoke the CLI commands from outside the CLI. Data::Walker objects are encapsulated, so that you can hop into and out of a CLI without losing state, and you can have several Data::Walker objects pointing at different structures.
The main functions can also be imported and used directly from within the Perl debuggers CLI.
<<lessSYNOPSIS
Without any explicit objects:
use Data::Walker;
Data::Walker->cli( $data_structure );
Object-style invocation:
use Data::Walker;
my $w = new Data::Walker;
$w->walk( $data_structure );
$w->ls("-al");
$w->pwd;
$w->cli;
Importing methods into the current package:
use Data::Walker qw(:direct);
walk $data_structure;
ls "-al";
pwd;
cli;
This module allows you to "walk" an arbitrary Perl data structure in the same way that you can walk a directory tree from a UNIX command line. It reuses familiar unix commands (such as "ls", "cd", "pwd") and applies these to data structures.
It has a command-line interface which behaves like a UNIX shell. You can also use object-style sytax to invoke the CLI commands from outside the CLI. Data::Walker objects are encapsulated, so that you can hop into and out of a CLI without losing state, and you can have several Data::Walker objects pointing at different structures.
The main functions can also be imported and used directly from within the Perl debuggers CLI.
Download (0.020MB)
Added: 2007-06-30 License: Perl Artistic License Price:
846 downloads
Data::CTable 1.03
Data::CTable is a Perl module that helps you read, write, manipulate tabular data. more>>
Data::CTable is a Perl module that helps you read, write, manipulate tabular data.
SYNOPSIS
## Read some data files in various tabular formats
use Data::CTable;
my $People = Data::CTable->new("people.merge.mac.txt");
my $Stats = Data::CTable->new("stats.tabs.unix.txt");
## Clean stray whitespace in fields
$People->clean_ws();
$Stats ->clean_ws();
## Retrieve columns
my $First = $People->col(FirstName);
my $Last = $People->col(LastName );
## Calculate a new column based on two others
my $Full = [map {"$First->[$_] $Last->[$_]"} @{$People->all()}];
## Add new column to the table
$People->col(FullName => $Full);
## Another way to calculate a new column
$People->col(Key);
$People->calc(sub {no strict vars; $Key = "$Last,$First";});
## "Left join" records matching Stats:PersonID to People:Key
$Stats->join($People, PersonID => Key);
## Find certain records
$Stats->select_all();
$Stats->select(Department => sub {/Sale/i }); ## Sales depts
$Stats->omit (Department => sub {/Resale/i}); ## not Resales
$Stats->select(UsageIndex => sub {$_ > 20.0}); ## high usage
## Sort the found records
$Stats->sortspec(DeptNum , {SortType => Integer});
$Stats->sortspec(UsageIndex, {SortType => Number });
$Stats->sort([qw(DeptNum UsageIndex Last First)]);
## Make copy of table with only found/sorted data, in order
my $Report = $Stats->snapshot();
## Write an output file
$Report->write(_FileName => "Rept.txt", _LineEnding => "mac");
## Print a final progress message.
$Stats->progress("Done!");
## Dozens more methods and parameters available...
OVERVIEW
Data::CTable is a comprehensive utility for reading, writing, manipulating, cleaning and otherwise transforming tabular data. The distribution includes several illustrative subclasses and utility scripts.
A Columnar Table represents a table as a hash of data columns, making it easy to do data cleanup, formatting, searching, calculations, joins, or other complex operations.
The objects hash keys are the field names and the hash values hold the data columns (as array references).
Tables also store a "selection" -- a list of selected / sorted record numbers, and a "field list" -- an ordered list of all or some fields to be operated on. Select() and sort() methods manipulate the selection list. Later, you can optionally rewrite the table in memory or on disk to reflect changes in the selection list or field list.
Data::CTable reads and writes any tabular text file format including Merge, CSV, Tab-delimited, and variants. It transparently detects, reads, and preserves Unix, Mac, and/or DOS line endings and tab or comma field delimiters -- regardless of the runtime platform.
In addition to reading data files, CTable is a good way to gather, store, and operate on tabular data in memory, and to export data to delimited text files to be read by other programs or interactive productivity applications.
To achieve extremely fast data loading, CTable caches data file contents using the Storable module. This can be helpful in CGI environments or when operating on very large data files. CTable can read an entire cached table of about 120 megabytes into memory in about 10 seconds on an average mid-range computer.
For simple data-driven applications needing to store and quickly retrieve simple tabular data sets, CTable provides a credible alternative to DBM files or SQL.
For data hygiene applications, CTable forms the foundation for writing utility scripts or compilers to transfer data from external sources, such as FileMaker, Excel, Access, personal organizers, etc. into compiled or validated formats -- or even as a gateway to loading data into SQL databases or other destinations. You can easily write short, repeatable scripts in Perl to do reporting, error checking, analysis, or validation that would be hard to duplicate in less-flexible application environments.
The data representation is simple and open so you can directly access the data in the object if you feel like it -- or you can use accessors to request "clean" structures containing only the data or copies of it. Or you can build your own columns in memory and then when youre ready, turn them into a table object using the very flexible new() method.
The highly factored interface and implementation allow fine-grained subclassing so you can easily create useful lightweight subclasses. Several subclasses are included with the distribution.
Most defaults and parameters can be customized by subclassing, overridden at the instance level (avoiding the need to subclass too often), and further overridden via optional named-parameter arguments to most major method calls.
<<lessSYNOPSIS
## Read some data files in various tabular formats
use Data::CTable;
my $People = Data::CTable->new("people.merge.mac.txt");
my $Stats = Data::CTable->new("stats.tabs.unix.txt");
## Clean stray whitespace in fields
$People->clean_ws();
$Stats ->clean_ws();
## Retrieve columns
my $First = $People->col(FirstName);
my $Last = $People->col(LastName );
## Calculate a new column based on two others
my $Full = [map {"$First->[$_] $Last->[$_]"} @{$People->all()}];
## Add new column to the table
$People->col(FullName => $Full);
## Another way to calculate a new column
$People->col(Key);
$People->calc(sub {no strict vars; $Key = "$Last,$First";});
## "Left join" records matching Stats:PersonID to People:Key
$Stats->join($People, PersonID => Key);
## Find certain records
$Stats->select_all();
$Stats->select(Department => sub {/Sale/i }); ## Sales depts
$Stats->omit (Department => sub {/Resale/i}); ## not Resales
$Stats->select(UsageIndex => sub {$_ > 20.0}); ## high usage
## Sort the found records
$Stats->sortspec(DeptNum , {SortType => Integer});
$Stats->sortspec(UsageIndex, {SortType => Number });
$Stats->sort([qw(DeptNum UsageIndex Last First)]);
## Make copy of table with only found/sorted data, in order
my $Report = $Stats->snapshot();
## Write an output file
$Report->write(_FileName => "Rept.txt", _LineEnding => "mac");
## Print a final progress message.
$Stats->progress("Done!");
## Dozens more methods and parameters available...
OVERVIEW
Data::CTable is a comprehensive utility for reading, writing, manipulating, cleaning and otherwise transforming tabular data. The distribution includes several illustrative subclasses and utility scripts.
A Columnar Table represents a table as a hash of data columns, making it easy to do data cleanup, formatting, searching, calculations, joins, or other complex operations.
The objects hash keys are the field names and the hash values hold the data columns (as array references).
Tables also store a "selection" -- a list of selected / sorted record numbers, and a "field list" -- an ordered list of all or some fields to be operated on. Select() and sort() methods manipulate the selection list. Later, you can optionally rewrite the table in memory or on disk to reflect changes in the selection list or field list.
Data::CTable reads and writes any tabular text file format including Merge, CSV, Tab-delimited, and variants. It transparently detects, reads, and preserves Unix, Mac, and/or DOS line endings and tab or comma field delimiters -- regardless of the runtime platform.
In addition to reading data files, CTable is a good way to gather, store, and operate on tabular data in memory, and to export data to delimited text files to be read by other programs or interactive productivity applications.
To achieve extremely fast data loading, CTable caches data file contents using the Storable module. This can be helpful in CGI environments or when operating on very large data files. CTable can read an entire cached table of about 120 megabytes into memory in about 10 seconds on an average mid-range computer.
For simple data-driven applications needing to store and quickly retrieve simple tabular data sets, CTable provides a credible alternative to DBM files or SQL.
For data hygiene applications, CTable forms the foundation for writing utility scripts or compilers to transfer data from external sources, such as FileMaker, Excel, Access, personal organizers, etc. into compiled or validated formats -- or even as a gateway to loading data into SQL databases or other destinations. You can easily write short, repeatable scripts in Perl to do reporting, error checking, analysis, or validation that would be hard to duplicate in less-flexible application environments.
The data representation is simple and open so you can directly access the data in the object if you feel like it -- or you can use accessors to request "clean" structures containing only the data or copies of it. Or you can build your own columns in memory and then when youre ready, turn them into a table object using the very flexible new() method.
The highly factored interface and implementation allow fine-grained subclassing so you can easily create useful lightweight subclasses. Several subclasses are included with the distribution.
Most defaults and parameters can be customized by subclassing, overridden at the instance level (avoiding the need to subclass too often), and further overridden via optional named-parameter arguments to most major method calls.
Download (0.15MB)
Added: 2007-07-13 License: Perl Artistic License Price:
833 downloads
Xfprot 1.20
Xfprot is a graphical frontend for F-Prot Antivirus. more>>
Xfprot project is a graphical frontend to the F-Prot Antivirus for Linux Small Business Edition 3.12b/c/d, 3.13, 4.1.0, 4.2.0, 4.3.0 and 4.3.1 by Frisk Software International (www.frisk.is) which is free of charge for personal use.
Xfprot up to and including version 0.19beta was based upon the XSTEP-3.5.1 library 1996-2001 by Marcelo Samsoniuk and collaborators and released under the LGPL license.
Starting from version 0.20beta XFPROT is based upon Gtk+ 1.2 libraries. From version 1.0-rc2 it is also possible to use the Gtk+ 2.2 libraries.
Xfprot is tested only on Linux (Mandrake 9.0 ,9.1, 9.2, 10.0) but probably should compile and work also on other distributions, on some *BSDs and on other Unixes.
<<lessXfprot up to and including version 0.19beta was based upon the XSTEP-3.5.1 library 1996-2001 by Marcelo Samsoniuk and collaborators and released under the LGPL license.
Starting from version 0.20beta XFPROT is based upon Gtk+ 1.2 libraries. From version 1.0-rc2 it is also possible to use the Gtk+ 2.2 libraries.
Xfprot is tested only on Linux (Mandrake 9.0 ,9.1, 9.2, 10.0) but probably should compile and work also on other distributions, on some *BSDs and on other Unixes.
Download (0.10MB)
Added: 2007-04-30 License: GPL (GNU General Public License) Price:
909 downloads
Data::Page 2.00
Data::Page is a Perl module that helps when paging through sets of results. more>>
Data::Page is a Perl module that helps when paging through sets of results.
SYNOPSIS
use Data::Page;
my $page = Data::Page->new();
$page->total_entries($total_entries);
$page->entries_per_page($entries_per_page);
$page->current_page($current_page);
print " First page: ", $page->first_page, "n";
print " Last page: ", $page->last_page, "n";
print "First entry on page: ", $page->first, "n";
print " Last entry on page: ", $page->last, "n";
When searching through large amounts of data, it is often the case that a result set is returned that is larger than we want to display on one page. This results in wanting to page through various pages of data. The maths behind this is unfortunately fiddly, hence this module.
The main concept is that you pass in the number of total entries, the number of entries per page, and the current page number. You can then call methods to find out how many pages of information there are, and what number the first and last entries on the current page really are.
For example, say we wished to page through the integers from 1 to 100 with 20 entries per page. The first page would consist of 1-20, the second page from 21-40, the third page from 41-60, the fourth page from 61-80 and the fifth page from 81-100. This module would help you work this out.
<<lessSYNOPSIS
use Data::Page;
my $page = Data::Page->new();
$page->total_entries($total_entries);
$page->entries_per_page($entries_per_page);
$page->current_page($current_page);
print " First page: ", $page->first_page, "n";
print " Last page: ", $page->last_page, "n";
print "First entry on page: ", $page->first, "n";
print " Last entry on page: ", $page->last, "n";
When searching through large amounts of data, it is often the case that a result set is returned that is larger than we want to display on one page. This results in wanting to page through various pages of data. The maths behind this is unfortunately fiddly, hence this module.
The main concept is that you pass in the number of total entries, the number of entries per page, and the current page number. You can then call methods to find out how many pages of information there are, and what number the first and last entries on the current page really are.
For example, say we wished to page through the integers from 1 to 100 with 20 entries per page. The first page would consist of 1-20, the second page from 21-40, the third page from 41-60, the fourth page from 61-80 and the fifth page from 81-100. This module would help you work this out.
Download (0.006MB)
Added: 2006-10-31 License: Perl Artistic License Price:
1088 downloads
Jbum 1.20
Jbum is an application (Webstart or jar) that takes a directory of images and turns them into a page of HTML. more>>
Jbum is an application (Webstart or jar) that takes a directory of images and turns them into a page of HTML.
It generates thumbnails and supports rotating, reordering, captioning, spell-checking, and styling.
Enhancements:
- An image rotation memory leak was fixed.
<<lessIt generates thumbnails and supports rotating, reordering, captioning, spell-checking, and styling.
Enhancements:
- An image rotation memory leak was fixed.
Download (MB)
Added: 2007-06-14 License: BSD License Price:
863 downloads
ypbind-mt 1.20.1
ypbind-mt is a multi-threaded implementation of a NIS binding daemon. more>>
ypbind-mt is a multi-threaded implementation of a NIS binding daemon. ypbind-mt compiles and works on Linux with glibx 2.x (libc6).
It should work on every System with POSIX threads and glibc 2.x. ypbind-mt works under Linux with libc5 and linuxthreads 0.7.1, but this C library isnt really thread safe and shouldnt be used with threads.
Main features:
- Supports bindings to multiple domains.
- Supports /var/yp/binding/* file for Linux libc 4/5 and glibc 2.x.
- Supports a list of known secure NIS server (/etc/yp.conf)
- Binds to the server which answered as first if the old one is down.
- Check all 15 minuts, if the current server is really the fastest.
Enhancements:
- ypbind has now DBUS support to watch network status messages from NetworkManager (if NetworkManager is used).
<<lessIt should work on every System with POSIX threads and glibc 2.x. ypbind-mt works under Linux with libc5 and linuxthreads 0.7.1, but this C library isnt really thread safe and shouldnt be used with threads.
Main features:
- Supports bindings to multiple domains.
- Supports /var/yp/binding/* file for Linux libc 4/5 and glibc 2.x.
- Supports a list of known secure NIS server (/etc/yp.conf)
- Binds to the server which answered as first if the old one is down.
- Check all 15 minuts, if the current server is really the fastest.
Enhancements:
- ypbind has now DBUS support to watch network status messages from NetworkManager (if NetworkManager is used).
Download (0.22MB)
Added: 2006-09-19 License: GPL (GNU General Public License) Price:
1130 downloads
Set::Scalar 1.20
Set::Scalar Perl module contains a basic set of operations. more>>
Set::Scalar Perl module contains a basic set of operations.
SYNOPSIS
use Set::Scalar;
$s = Set::Scalar->new;
$s->insert(a, b);
$s->delete(b);
$t = Set::Scalar->new(x, y, $z);
Creating
$s = Set::Scalar->new;
$s = Set::Scalar->new(@members);
$t = $s->clone;
$t = $s->copy; # clone of clone
Modifying
$s->insert(@members);
$s->delete(@members);
$s->invert(@members); # insert if hasnt, delete if has
$s->clear; # removes all the elements
Note that clear() only releases the memory used by the set to be reused by Perl; it will not reduce the overall memory use.
<<lessSYNOPSIS
use Set::Scalar;
$s = Set::Scalar->new;
$s->insert(a, b);
$s->delete(b);
$t = Set::Scalar->new(x, y, $z);
Creating
$s = Set::Scalar->new;
$s = Set::Scalar->new(@members);
$t = $s->clone;
$t = $s->copy; # clone of clone
Modifying
$s->insert(@members);
$s->delete(@members);
$s->invert(@members); # insert if hasnt, delete if has
$s->clear; # removes all the elements
Note that clear() only releases the memory used by the set to be reused by Perl; it will not reduce the overall memory use.
Download (0.016MB)
Added: 2007-07-03 License: Perl Artistic License Price:
844 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above data 1.20 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed