multiple formats
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5352
Multiple Time Sheets 4
Multiple Time Sheets is a simple tool to help you keep track of how many hours you work and for whom. more>>
Multiple Time Sheets is a simple tool to help you keep track of how many hours you work and for whom.
It differs from most time-tracking software because its designed to work like paper that magically totals up hours.
Main features:
- Uses text files, requiring no database.
- Supports only one user per app, for simpler code.
- Sends and tracks invoices, and payments thereof.
- Features a rudimentary to-do list that displays your list as an outline.
- Sends you a backup of your data automatically.
- Assume the user prefers free-form data entry in text files rather than typing into forms.
- Uses the htmlMimeMail.php class by Richard Heye (phpguru.org).
- CSV and OPML exports of some data.
- Automatic hyperlinking from MTS to your favorite web-based software.
Enhancements:
- This release added a feature that replaces text patterns with links so that strings like "Bug 10" can link to a bug tracking application.
- CSV export was added for the timesheet along with OPML export for the to-do list.
<<lessIt differs from most time-tracking software because its designed to work like paper that magically totals up hours.
Main features:
- Uses text files, requiring no database.
- Supports only one user per app, for simpler code.
- Sends and tracks invoices, and payments thereof.
- Features a rudimentary to-do list that displays your list as an outline.
- Sends you a backup of your data automatically.
- Assume the user prefers free-form data entry in text files rather than typing into forms.
- Uses the htmlMimeMail.php class by Richard Heye (phpguru.org).
- CSV and OPML exports of some data.
- Automatic hyperlinking from MTS to your favorite web-based software.
Enhancements:
- This release added a feature that replaces text patterns with links so that strings like "Bug 10" can link to a bug tracking application.
- CSV export was added for the timesheet along with OPML export for the to-do list.
Download (0.039MB)
Added: 2006-01-31 License: Public Domain Price:
1364 downloads
Tie::Formatted 0.02
Tie::Formatted is a Perl module embed sprintf() formatting in regular print(). more>>
Tie::Formatted is a Perl module embed sprintf() formatting in regular print().
SYNOPSIS
use Tie::Formatted;
print "The value is $format{$number, "%3d"} ",
"(or $format{$number, "%04x"} in hex)n";
print "some numbers: $format{ 12, 492, 1, 8753, "%04d"}n";
This module creates a global read-only hash, %format, for formatting data items with standard sprintf format specifications. Since its a hash, you can interpolate it into strings as well as use it standalone.
The hash should be "accessed" with two or more "keys". The last key is interpreted as a sprintf format for each data item specified in the preceeding arguments. This allows you to format multiple items at once using the same format for each.
Alternate name
If you prefer, you can specify a different name for the magical formatting hash by supplying it as as argument when useing the module:
use Tie::Formatted qw(z);
This makes %z the magic hash instead.
print "This is hex: $z{255, "%04x"}n";
Tie::Formatted currently supports only one format in the final argument; this may change if there is demand for it.
<<lessSYNOPSIS
use Tie::Formatted;
print "The value is $format{$number, "%3d"} ",
"(or $format{$number, "%04x"} in hex)n";
print "some numbers: $format{ 12, 492, 1, 8753, "%04d"}n";
This module creates a global read-only hash, %format, for formatting data items with standard sprintf format specifications. Since its a hash, you can interpolate it into strings as well as use it standalone.
The hash should be "accessed" with two or more "keys". The last key is interpreted as a sprintf format for each data item specified in the preceeding arguments. This allows you to format multiple items at once using the same format for each.
Alternate name
If you prefer, you can specify a different name for the magical formatting hash by supplying it as as argument when useing the module:
use Tie::Formatted qw(z);
This makes %z the magic hash instead.
print "This is hex: $z{255, "%04x"}n";
Tie::Formatted currently supports only one format in the final argument; this may change if there is demand for it.
Download (0.005MB)
Added: 2007-01-15 License: Perl Artistic License Price:
1012 downloads
Multistat 0.1
Multistat is designed to be a flexible log file parser for multiple game servers. more>>
Multistat is designed to be a flexible log file parser for multiple game servers.
Designed with an extensible plugin interface, it is able to process statistics for any game and output them in any format simply by the use of custom modules.
Currently modules for Halflife, Counterstrike Source, Unreal Tournament 2004, Call of Duty 1, Unreal Tournament, and HTML output are included.
<<lessDesigned with an extensible plugin interface, it is able to process statistics for any game and output them in any format simply by the use of custom modules.
Currently modules for Halflife, Counterstrike Source, Unreal Tournament 2004, Call of Duty 1, Unreal Tournament, and HTML output are included.
Download (0.20MB)
Added: 2006-04-27 License: GPL (GNU General Public License) Price:
1276 downloads
DateTime::Format::Pg 0.15
DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times. more>>
DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times.
SYNOPSIS
use DateTime::Format::Pg;
my $dt = DateTime::Format::Pg->parse_datetime( 2003-01-16 23:12:01 );
# 2003-01-16T23:12:01+0200
DateTime::Format::Pg->format_datetime($dt);
This module understands the formats used by PostgreSQL for its DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used to parse these formats in order to create DateTime or DateTime::Duration objects, and it can take a DateTime or DateTime::Duration object and produce a string representing it in a format accepted by PostgreSQL.
CONSTRUCTORS
The following methods can be used to create DateTime::Format::Pg objects.
new( name => value, ... )
Creates a new DateTime::Format::Pg instance. This is generally not required for simple operations. If you wish to use a different parsing style from the default then it is more comfortable to create an object.
my $parser = DateTime::Format::Pg->new()
my $copy = $parser->new( european => 1 );
This method accepts the following options:
european
If european is set to non-zero, dates are assumed to be in european dd/mm/yyyy format. The default is to assume US mm/dd/yyyy format (because this is the default for PostgreSQL).
This option only has an effect if PostgreSQL is set to output dates in the PostgreSQL (DATE only) and SQL (DATE and TIMESTAMP) styles.
Note that you dont have to set this option if the PostgreSQL server has been set to use the ISO format, which is the default.
server_tz
This option can be set to a DateTime::TimeZone object or a string that contains a time zone name.
This value must be set to the same value as the PostgreSQL servers time zone in order to parse TIMESTAMP WITH TIMEZONE values in the PostgreSQL, SQL, and German formats correctly.
Note that you dont have to set this option if the PostgreSQL server has been set to use the ISO format, which is the default.
clone()
This method is provided for those who prefer to explicitly clone via a method called clone().
my $clone = $original->clone();
If called as a class method it will die.
<<lessSYNOPSIS
use DateTime::Format::Pg;
my $dt = DateTime::Format::Pg->parse_datetime( 2003-01-16 23:12:01 );
# 2003-01-16T23:12:01+0200
DateTime::Format::Pg->format_datetime($dt);
This module understands the formats used by PostgreSQL for its DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used to parse these formats in order to create DateTime or DateTime::Duration objects, and it can take a DateTime or DateTime::Duration object and produce a string representing it in a format accepted by PostgreSQL.
CONSTRUCTORS
The following methods can be used to create DateTime::Format::Pg objects.
new( name => value, ... )
Creates a new DateTime::Format::Pg instance. This is generally not required for simple operations. If you wish to use a different parsing style from the default then it is more comfortable to create an object.
my $parser = DateTime::Format::Pg->new()
my $copy = $parser->new( european => 1 );
This method accepts the following options:
european
If european is set to non-zero, dates are assumed to be in european dd/mm/yyyy format. The default is to assume US mm/dd/yyyy format (because this is the default for PostgreSQL).
This option only has an effect if PostgreSQL is set to output dates in the PostgreSQL (DATE only) and SQL (DATE and TIMESTAMP) styles.
Note that you dont have to set this option if the PostgreSQL server has been set to use the ISO format, which is the default.
server_tz
This option can be set to a DateTime::TimeZone object or a string that contains a time zone name.
This value must be set to the same value as the PostgreSQL servers time zone in order to parse TIMESTAMP WITH TIMEZONE values in the PostgreSQL, SQL, and German formats correctly.
Note that you dont have to set this option if the PostgreSQL server has been set to use the ISO format, which is the default.
clone()
This method is provided for those who prefer to explicitly clone via a method called clone().
my $clone = $original->clone();
If called as a class method it will die.
Download (0.019MB)
Added: 2007-05-17 License: Perl Artistic License Price:
890 downloads
Multiple-Precision Floating-Point Library 2.2.0
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding. more>>
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library.
The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit mantissa).
MPFR is free. It is distributed under the GNU Lesser General Public License (GNU Lesser GPL). The library has been registered in France by the Agence de Protection des Programmes under the number IDDN FR 001 120020 00 R P 2000 000 10800, on 15 March 2000.
This license guarantees your freedom to share and change MPFR, to make sure MPFR is free for all its users. Unlike the ordinary General Public License, the Lesser GPL enables developers of non-free programs to use MPFR in their programs. If you have written a new function for MPFR or improved an existing one, please share your work!
<<lessThe main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit mantissa).
MPFR is free. It is distributed under the GNU Lesser General Public License (GNU Lesser GPL). The library has been registered in France by the Agence de Protection des Programmes under the number IDDN FR 001 120020 00 R P 2000 000 10800, on 15 March 2000.
This license guarantees your freedom to share and change MPFR, to make sure MPFR is free for all its users. Unlike the ordinary General Public License, the Lesser GPL enables developers of non-free programs to use MPFR in their programs. If you have written a new function for MPFR or improved an existing one, please share your work!
Download (0.92MB)
Added: 2005-10-12 License: LGPL (GNU Lesser General Public License) Price:
1473 downloads

Multiple Tab Handler 0.4.2009072001
Multiple Tab Handler is an excellent and very useful program which provides features to handle multiple tabs at once, for example, close them, reload them, and so on. more>>
Multiple Tab Handler 0.4.2009072001 is an excellent and very useful program which provides features to handle multiple tabs at once, for example, close them, reload them, and so on. When you press the mouse button and drag over tabs, they are selected. After you release the button, the popup to choose command will be shown. Of course, you can toggle selection by Ctrl-click on each tab and call features from the context menu. The behavior looks like Excel.
This includes "Duplicate Tab", "Close All Tabs", "Close Left Tabs", "Close Right Tabs", "Copy URL" and "Close Similar Tabs" features. This is developed under a project to restructure TBE for Firefox 2.
Major Features:
- Select tabs, and choose a command. This is the simple usecase. If you want tabs to be rearranged, please drag the favicon of tabs.
- If you don't like the behavior of tabs, you can change it. "Move tab (Firefox default)", "select tab (Multiple Tab Handler default)" or "switch tab (iRider compatible)" is available.
- You can select/unselect tabs by ctrl-click or shift-click, like as cells of Excel.
- Selecting of closeboxes can close tabs directly. (iRider compatibility)
- This includes "Close Left Tabs" and "Close Right Tabs" features. You can use them from the context menu of tabs.
- With version 0.4 or later, you can add custom formats for the feature "copy URIs of selected tabs".
Enhancements: Improved: Formats of copied texts becomes customizable.
Added: 2009-07-23 License: MPL Price: FREE
1 downloads
Format on Save 1.1.0
Format on Save is a Eclipse plugin to automatically organizes imports and formats code when saving a Java editor. more>>
Format on Save is a Eclipse plugin to automatically organizes imports and formats code when saving a Java editor.
This is the exact equivalent as doing Ctrl-Shift-O, Ctrl-Shift-F before saving. New features: - Sort Members and Correct Indentation - preference page to configure defaults
<<lessThis is the exact equivalent as doing Ctrl-Shift-O, Ctrl-Shift-F before saving. New features: - Sort Members and Correct Indentation - preference page to configure defaults
Download (0.051MB)
Added: 2006-09-13 License: GPL (GNU General Public License) Price:
1138 downloads
Fortran::Format 0.90
Fortran::Format is a Perl module to read and write data according to a standard Fortran 77 FORMAT. more>>
Fortran::Format is a Perl module to read and write data according to a standard Fortran 77 FORMAT.
SYNOPSYS
use Fortran::Format;
my $f = Fortran::Format->new("2(N: ,I4,2X)");
print $f->write(1 .. 10);
# prints the following:
# N: 1 N: 2
# N: 3 N: 4
# N: 5 N: 6
# N: 7 N: 8
# N: 9 N: 10
# if you dont want to save the format object,
# just chain the calls:
Fortran::Format->new("2(N: ,I4,2X)")->write(1 .. 10);
This is a Perl implementation of the Fortran 77 formatted input/output facility. One possible use is for producing input files for old Fortran programs, making sure that their column-oriented records are rigorously correct. Fortran formats may also have some advantages over printf in some cases: it is very easy to output an array, reusing the format as needed; and the syntax for repeated columns is more concise. Unlike printf, for good or ill, Fortran-formatted fields never exceed their desired width. For example, compare
printf "%3d", 12345; # prints "12345"
print Fortran::Format->new("I3")->write(12345); # prints "***"
This implementation was written in pure Perl, with portability and correctness in mind. It implements the full ANSI standard for Fortran 77 Formats (or at least it should). It was not written with speed in mind, so if you need to process millions of records it may not be what you need.
<<lessSYNOPSYS
use Fortran::Format;
my $f = Fortran::Format->new("2(N: ,I4,2X)");
print $f->write(1 .. 10);
# prints the following:
# N: 1 N: 2
# N: 3 N: 4
# N: 5 N: 6
# N: 7 N: 8
# N: 9 N: 10
# if you dont want to save the format object,
# just chain the calls:
Fortran::Format->new("2(N: ,I4,2X)")->write(1 .. 10);
This is a Perl implementation of the Fortran 77 formatted input/output facility. One possible use is for producing input files for old Fortran programs, making sure that their column-oriented records are rigorously correct. Fortran formats may also have some advantages over printf in some cases: it is very easy to output an array, reusing the format as needed; and the syntax for repeated columns is more concise. Unlike printf, for good or ill, Fortran-formatted fields never exceed their desired width. For example, compare
printf "%3d", 12345; # prints "12345"
print Fortran::Format->new("I3")->write(12345); # prints "***"
This implementation was written in pure Perl, with portability and correctness in mind. It implements the full ANSI standard for Fortran 77 Formats (or at least it should). It was not written with speed in mind, so if you need to process millions of records it may not be what you need.
Download (0.018MB)
Added: 2007-04-20 License: Perl Artistic License Price:
925 downloads
DateTime::Format::Builder 0.7807
DateTime::Format::Builder is a Perl module to create datetime parser classes and objects. more>>
DateTime::Format::Builder is a Perl module to create datetime parser classes and objects.
SYNOPSIS
package DateTime::Format::Brief;
our $VERSION = 0.07;
use DateTime::Format::Builder
(
parsers => {
parse_datetime => [
{
regex => qr/^(d{4})(dd)(dd)(dd)(dd)(dd)$/,
params => [qw( year month day hour minute second )],
},
{
regex => qr/^(d{4})(dd)(dd)$/,
params => [qw( year month day )],
},
],
}
);
DateTime::Format::Builder creates DateTime parsers. Many string formats of dates and times are simple and just require a basic regular expression to extract the relevant information. Builder provides a simple way to do this without writing reams of structural code.
Builder provides a number of methods, most of which youll never need, or at least rarely need. Theyre provided more for exposing of the modules innards to any subclasses, or for when you need to do something slightly beyond what I expected.
<<lessSYNOPSIS
package DateTime::Format::Brief;
our $VERSION = 0.07;
use DateTime::Format::Builder
(
parsers => {
parse_datetime => [
{
regex => qr/^(d{4})(dd)(dd)(dd)(dd)(dd)$/,
params => [qw( year month day hour minute second )],
},
{
regex => qr/^(d{4})(dd)(dd)$/,
params => [qw( year month day )],
},
],
}
);
DateTime::Format::Builder creates DateTime parsers. Many string formats of dates and times are simple and just require a basic regular expression to extract the relevant information. Builder provides a simple way to do this without writing reams of structural code.
Builder provides a number of methods, most of which youll never need, or at least rarely need. Theyre provided more for exposing of the modules innards to any subclasses, or for when you need to do something slightly beyond what I expected.
Download (0.047MB)
Added: 2007-05-17 License: Perl Artistic License Price:
890 downloads
Mjpeg tools 1.8.0
Mjpeg tools is a suite of programs which support video capture, basic editing, playback, and compression to MPEG-1/2 video. more>>
The mjpeg programs are a set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video under Linux.
Recording is supported for the Zoran based cards like the Buz (Iomega), DC10 (MIRO, Pinnacle), Matrox Marvel cards and the LML33 (Linux Media Labs). See related pages to the right to find the right driver for your card.
The recorded videos can be converted to MPEG streams. The software playback of MPEG streams works with almost every player and every OS.
You can produce special forms of MPEG streams like VCD (Video CD) and SVCD for hardware playback.
A key design objective of the tools is interoperability with other video tools:
The tools can be used used to edit, playback and compress motion JPEG (MJPEG) AVIs captured using the xawtv package.
The tools can be used to edit playback and compress MJPEG streams created and editted with broadcast 2000. N.b. the current mpeg2movie high bit-rate MPEG encoder is in large part derived from an obsolescent snapshot of the mjpegtools MPEG encoder.
Enhancements:
- changes in YUV4MPEG2 API to offer support for multiple colorspaces (particularly useful for DV video), so that multiple planar YUV formats (also monochrome or alpha) are supported.
- most filtering tools have been adapted to support multiple YUV formats, so that you will not lose quality/precision in conversion steps.
- Many new or dramatically improved filters including (but not limited to):
*) yuvdenoise (denoising filter)
*) yuvdeinterlace (intelligent deinterlacing program)
*) y4munsharp (unsharp mask image sharpening program)
- Improvements in the IDCT/DCT routines in the MPEG-1/-2 encoder (much more exact now and not subject to overflow/truncation on the IA32 arch).
- MANY new utilties for importing/exporting data:
*) New and improved PGM/PNM conversion programs for dealing with PPM data.
*) Utilities to convert raw (headerless) YUV data to and from YUV4MPEG2 format. Useful when interfacing with other program suites.
*) Program (yuyvtoy4m) to convert 4:2:2 data from digital cameras into YUV4MPEG2 format for use with mjpegtools.
*) y4mstabilizer for stabilizing images with unsteady camera work
- Improvements and fixes in mplex for handling PCM audio (LPCM audio actually works now)
- DPME (Dual Prime Motion Estimation) in the encoder (mpeg2enc) is fully functional (it was present but buggy/artifacted in the earlier releases)
- Rate control in the encoder improved considerably.
- Much better Quicktime file handling (via libquicktime) especially the audio tracks.
- Besides the always-excellent x86 support, we now have full support for AMD64 (including MMX/SSE/etc. optimizations) and for PPC (e.g. Linux or OS/X), and win32 support is also available (via Cygwin/Mingw).
<<lessRecording is supported for the Zoran based cards like the Buz (Iomega), DC10 (MIRO, Pinnacle), Matrox Marvel cards and the LML33 (Linux Media Labs). See related pages to the right to find the right driver for your card.
The recorded videos can be converted to MPEG streams. The software playback of MPEG streams works with almost every player and every OS.
You can produce special forms of MPEG streams like VCD (Video CD) and SVCD for hardware playback.
A key design objective of the tools is interoperability with other video tools:
The tools can be used used to edit, playback and compress motion JPEG (MJPEG) AVIs captured using the xawtv package.
The tools can be used to edit playback and compress MJPEG streams created and editted with broadcast 2000. N.b. the current mpeg2movie high bit-rate MPEG encoder is in large part derived from an obsolescent snapshot of the mjpegtools MPEG encoder.
Enhancements:
- changes in YUV4MPEG2 API to offer support for multiple colorspaces (particularly useful for DV video), so that multiple planar YUV formats (also monochrome or alpha) are supported.
- most filtering tools have been adapted to support multiple YUV formats, so that you will not lose quality/precision in conversion steps.
- Many new or dramatically improved filters including (but not limited to):
*) yuvdenoise (denoising filter)
*) yuvdeinterlace (intelligent deinterlacing program)
*) y4munsharp (unsharp mask image sharpening program)
- Improvements in the IDCT/DCT routines in the MPEG-1/-2 encoder (much more exact now and not subject to overflow/truncation on the IA32 arch).
- MANY new utilties for importing/exporting data:
*) New and improved PGM/PNM conversion programs for dealing with PPM data.
*) Utilities to convert raw (headerless) YUV data to and from YUV4MPEG2 format. Useful when interfacing with other program suites.
*) Program (yuyvtoy4m) to convert 4:2:2 data from digital cameras into YUV4MPEG2 format for use with mjpegtools.
*) y4mstabilizer for stabilizing images with unsteady camera work
- Improvements and fixes in mplex for handling PCM audio (LPCM audio actually works now)
- DPME (Dual Prime Motion Estimation) in the encoder (mpeg2enc) is fully functional (it was present but buggy/artifacted in the earlier releases)
- Rate control in the encoder improved considerably.
- Much better Quicktime file handling (via libquicktime) especially the audio tracks.
- Besides the always-excellent x86 support, we now have full support for AMD64 (including MMX/SSE/etc. optimizations) and for PPC (e.g. Linux or OS/X), and win32 support is also available (via Cygwin/Mingw).
Download (2.1MB)
Added: 2005-09-26 License: GPL (GNU General Public License) Price:
1519 downloads
DBIx::SQLCrosstab::Format 1.17
DBIx::SQLCrosstab::Format is a Perl module with formats results created by DBIx::SQLCrosstab. more>>
DBIx::SQLCrosstab::Format is a Perl module with formats results created by DBIx::SQLCrosstab.
SYNOPSIS
use DBIx::SQLCrosstab::Format;
my $dbh=DBI->connect("dbi:driver:database"
"user","password", {RaiseError=>1})
or die "error in connection $DBI::errstrn";
my $params = {
dbh => $dbh,
op => [ [ SUM, salary] ],
from => person INNER JOIN departments USING (dept_id),
rows => [
{ col => country},
],
cols => [
{
id => dept,
value =>department,
from =>departments
},
{
id => gender, from => person
}
]
};
my $xtab = DBIx::SQLCrosstab::Format->new($params)
or die "error in creation ($DBIx::SQLCrosstab::errstr)n";
my $query = $xtab->get_query("#")
or die "error in query building $DBIx::SQLCrosstab::errstrn";
if ( $xtab->get_recs) {
# do something with records, or use a built-in function
# to produce a well formatted HTML table
#
print $xtab->as_html;
print $xtab->as_xml;
print $xtab->as_yaml;
print $xtab->as_csv(header);
$xtab->as_xls("xtab.xls");
use Data::Dumper;
print Data::Dumper->Dump ([ $xtab->as_perl_struct(hoh)],
[hoh]);
print Data::Dumper->Dump ([ $xtab->as_perl_struct(losh)],
[losh]);
print Data::Dumper->Dump ([ $xtab->as_perl_struct(loh)],
[loh]);
}
else {
die "error in execution $DBIx::SQLCrosstab::errstrn";
}
DBIx::SQLCrosstab::Format is a class descending from DBIx::SQLCrosstab. Being a child class, it inherits its parent methods and can be used in the same way.
In addition, it provides methods to produce formatted output.
<<lessSYNOPSIS
use DBIx::SQLCrosstab::Format;
my $dbh=DBI->connect("dbi:driver:database"
"user","password", {RaiseError=>1})
or die "error in connection $DBI::errstrn";
my $params = {
dbh => $dbh,
op => [ [ SUM, salary] ],
from => person INNER JOIN departments USING (dept_id),
rows => [
{ col => country},
],
cols => [
{
id => dept,
value =>department,
from =>departments
},
{
id => gender, from => person
}
]
};
my $xtab = DBIx::SQLCrosstab::Format->new($params)
or die "error in creation ($DBIx::SQLCrosstab::errstr)n";
my $query = $xtab->get_query("#")
or die "error in query building $DBIx::SQLCrosstab::errstrn";
if ( $xtab->get_recs) {
# do something with records, or use a built-in function
# to produce a well formatted HTML table
#
print $xtab->as_html;
print $xtab->as_xml;
print $xtab->as_yaml;
print $xtab->as_csv(header);
$xtab->as_xls("xtab.xls");
use Data::Dumper;
print Data::Dumper->Dump ([ $xtab->as_perl_struct(hoh)],
[hoh]);
print Data::Dumper->Dump ([ $xtab->as_perl_struct(losh)],
[losh]);
print Data::Dumper->Dump ([ $xtab->as_perl_struct(loh)],
[loh]);
}
else {
die "error in execution $DBIx::SQLCrosstab::errstrn";
}
DBIx::SQLCrosstab::Format is a class descending from DBIx::SQLCrosstab. Being a child class, it inherits its parent methods and can be used in the same way.
In addition, it provides methods to produce formatted output.
Download (0.065MB)
Added: 2006-09-27 License: Perl Artistic License Price:
1122 downloads
Duplidel 0.91
Duplidel finds and removes the duplicate messages that often occur when downloading email from multiple accounts. more>>
Duplidel finds and removes the duplicate messages that often occur when downloading email from multiple accounts.
Duplidel supports maildir and mbox formats. It works, seems quite stable, and makes a backup of your email before doing anything to it.
<<lessDuplidel supports maildir and mbox formats. It works, seems quite stable, and makes a backup of your email before doing anything to it.
Download (0.015MB)
Added: 2006-02-02 License: GPL (GNU General Public License) Price:
1360 downloads
libpackman 0.3.2
libpackman (Package Management) library provides a single API for accessing multiple package formats and package databases. more>>
libpackman (Package Management) library provides a single API for accessing multiple package formats and package databases.
Libpackmans module support allows for other developers to quickly provide support for new package formats and database formats.
Libpackman is in the alpha stage. It currently supports reading of RPM packages, partial reading of Debian packages, reading of the RPM database, and reading/writing of the GNUpdate database. Packages can be queried, but installation is, for the moment, disabled.
NOTE: This is a development release, and may harm your system if you use it to install packages. We take no responsibility for corrupted package databases or filesystems.
Installation:
$ ./configure --prefix=/usr
Then compile it:
$ make
And finally, install it:
$ make install
<<lessLibpackmans module support allows for other developers to quickly provide support for new package formats and database formats.
Libpackman is in the alpha stage. It currently supports reading of RPM packages, partial reading of Debian packages, reading of the RPM database, and reading/writing of the GNUpdate database. Packages can be queried, but installation is, for the moment, disabled.
NOTE: This is a development release, and may harm your system if you use it to install packages. We take no responsibility for corrupted package databases or filesystems.
Installation:
$ ./configure --prefix=/usr
Then compile it:
$ make
And finally, install it:
$ make install
Download (0.18MB)
Added: 2006-03-22 License: LGPL (GNU Lesser General Public License) Price:
1314 downloads
Rubyripper 0.4.2
Rubyripper is a secure audio-cd ripper for linux. more>>
Rubyripper is a secure audio-cd ripper for linux.
Through multiple times ripping the same track and correcting any differences Rubyripper tries to deliver a secure rip.
<<lessThrough multiple times ripping the same track and correcting any differences Rubyripper tries to deliver a secure rip.
Download (0.030MB)
Added: 2007-07-08 License: GPL (GNU General Public License) Price:
845 downloads
DateTime::Format::Builder::Tutorial 0.7807
DateTime::Format::Builder::Tutorial is a quick class on using Builder. more>>
DateTime::Format::Builder::Tutorial is a quick class on using Builder.
CREATING A CLASS
As most people who are writing modules know, you start a package with a package declaration and some indication of module version:
package DateTime::Format::ICal;
our $VERSION = 0.04;
After that, you call Builder with some options. There are only a few (detailed later). Right now, were only interested in parsers.
use DateTime::Format::Builder
(
parsers => {
...
}
);
The parsers option takes a reference to a hash of method names and specifications:
parsers => {
parse_datetime => ... ,
parse_datetime_with_timezone => ... ,
...
}
Builder will create methods in your class, each method being a parser that follows the given specifications. It is strongly recommended that one method is called parse_datetime, be it a Builder created method or one of your own.
In addition to creating any of the parser methods it also creates a new() method that can instantiate (or clone) objects of this class. This behaviour can be modified with the constructor option, but we dont need to know that yet.
Each value corresponding to a method name in the parsers list is either a single specification, or a list of specifications. Well start with the simple case.
parse_briefdate => {
params => [ qw( year month day ) ],
regex => qr/^(dddd)(dd)(dd)$/,
},
This will result in a method named parse_briefdate which will take strings in the form 20040716 and return DateTime objects representing that date. A user of the class might write:
use DateTime::Format::ICal;
my $date = "19790716";
my $dt = DateTime::Format::ICal->parse_briefdate( $date );
print "My birth month is ", $dt->month_name, "n";
The regex is applied to the input string, and if it matches, then $1, $2, ... are mapped to the params given and handed to DateTime->new(). Essentially:
my $rv = DateTime->new( year => $1, month => $2, day => $3 );
There are more complicated things one can do within a single specification, but well cover those later.
Often, youll want a method to be able to take one string, and run it against multiple parser specifications. It would be very irritating if the user had to work out what format the datetime string was in and then which method was most appropriate.
So, Builder lets you specify multiple specifications:
parse_datetime => [
{
params => [ qw( year month day hour minute second ) ],
regex => qr/^(dddd)(dd)(dd)T(dd)(dd)(dd)$/,
},
{
params => [ qw( year month day hour minute ) ],
regex => qr/^(dddd)(dd)(dd)T(dd)(dd)$/,
},
{
params => [ qw( year month day hour ) ],
regex => qr/^(dddd)(dd)(dd)T(dd)$/,
},
{
params => [ qw( year month day ) ],
regex => qr/^(dddd)(dd)(dd)$/,
},
],
Its an arrayref of specifications. A parser will be created that will try each of these specifications sequentially, in the order you specified.
<<lessCREATING A CLASS
As most people who are writing modules know, you start a package with a package declaration and some indication of module version:
package DateTime::Format::ICal;
our $VERSION = 0.04;
After that, you call Builder with some options. There are only a few (detailed later). Right now, were only interested in parsers.
use DateTime::Format::Builder
(
parsers => {
...
}
);
The parsers option takes a reference to a hash of method names and specifications:
parsers => {
parse_datetime => ... ,
parse_datetime_with_timezone => ... ,
...
}
Builder will create methods in your class, each method being a parser that follows the given specifications. It is strongly recommended that one method is called parse_datetime, be it a Builder created method or one of your own.
In addition to creating any of the parser methods it also creates a new() method that can instantiate (or clone) objects of this class. This behaviour can be modified with the constructor option, but we dont need to know that yet.
Each value corresponding to a method name in the parsers list is either a single specification, or a list of specifications. Well start with the simple case.
parse_briefdate => {
params => [ qw( year month day ) ],
regex => qr/^(dddd)(dd)(dd)$/,
},
This will result in a method named parse_briefdate which will take strings in the form 20040716 and return DateTime objects representing that date. A user of the class might write:
use DateTime::Format::ICal;
my $date = "19790716";
my $dt = DateTime::Format::ICal->parse_briefdate( $date );
print "My birth month is ", $dt->month_name, "n";
The regex is applied to the input string, and if it matches, then $1, $2, ... are mapped to the params given and handed to DateTime->new(). Essentially:
my $rv = DateTime->new( year => $1, month => $2, day => $3 );
There are more complicated things one can do within a single specification, but well cover those later.
Often, youll want a method to be able to take one string, and run it against multiple parser specifications. It would be very irritating if the user had to work out what format the datetime string was in and then which method was most appropriate.
So, Builder lets you specify multiple specifications:
parse_datetime => [
{
params => [ qw( year month day hour minute second ) ],
regex => qr/^(dddd)(dd)(dd)T(dd)(dd)(dd)$/,
},
{
params => [ qw( year month day hour minute ) ],
regex => qr/^(dddd)(dd)(dd)T(dd)(dd)$/,
},
{
params => [ qw( year month day hour ) ],
regex => qr/^(dddd)(dd)(dd)T(dd)$/,
},
{
params => [ qw( year month day ) ],
regex => qr/^(dddd)(dd)(dd)$/,
},
],
Its an arrayref of specifications. A parser will be created that will try each of these specifications sequentially, in the order you specified.
Download (0.047MB)
Added: 2006-10-16 License: Perl Artistic License Price:
1103 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 multiple formats 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