googlemaps 0.07
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 112
WebService::GoogleMaps 0.07
WebService::GoogleMaps is an automated interface to Google Maps. more>>
WebService::GoogleMaps is an automated interface to Google Maps.
SYNOPSIS
use WebService::GoogleMaps;
# Set up a new object with a viewport of 640 x 480 pixels
my $gmap = WebService::GoogleMaps->new( 640, 480 );
# Specify a location to view
$gmap->set(
latitude => 40.750275,
longitude => -73.993034,
zoom_level => 4, # valid values are 0..14, lower value is more zoomed
cache_dir => "/tmp", # optional, but recommended! Helps speed up future requests
pan_x => 0, # move viewport to the east (+) or west (-) a number of pixels
pan_y => 0, # move viewport to the south (+) or north (-) a number of pixels
);
# create a GD object containing our bitmapped map object
$gmap->generate_gd();
# or simply
# $gmap->generate_gd(40.750275, -73.993034, 4); # latitude, longitude, zoom_level
my $error = $gmap->error();
$error && print "Error: $errorn";
open (FH, ">", "mymap.png");
binmode FH;
print FH $gmap->{gd}->png;
close(FH);
WebService::GoogleMaps provides an automated interface to Google Maps http://maps.google.com/, which provides free street maps of locations in the USA and Canada. This module allows you to specify an image size, latitude, longitude, and zoom level and returns a GD object containing a street level map.
<<lessSYNOPSIS
use WebService::GoogleMaps;
# Set up a new object with a viewport of 640 x 480 pixels
my $gmap = WebService::GoogleMaps->new( 640, 480 );
# Specify a location to view
$gmap->set(
latitude => 40.750275,
longitude => -73.993034,
zoom_level => 4, # valid values are 0..14, lower value is more zoomed
cache_dir => "/tmp", # optional, but recommended! Helps speed up future requests
pan_x => 0, # move viewport to the east (+) or west (-) a number of pixels
pan_y => 0, # move viewport to the south (+) or north (-) a number of pixels
);
# create a GD object containing our bitmapped map object
$gmap->generate_gd();
# or simply
# $gmap->generate_gd(40.750275, -73.993034, 4); # latitude, longitude, zoom_level
my $error = $gmap->error();
$error && print "Error: $errorn";
open (FH, ">", "mymap.png");
binmode FH;
print FH $gmap->{gd}->png;
close(FH);
WebService::GoogleMaps provides an automated interface to Google Maps http://maps.google.com/, which provides free street maps of locations in the USA and Canada. This module allows you to specify an image size, latitude, longitude, and zoom level and returns a GD object containing a street level map.
Download (0.011MB)
Added: 2006-11-24 License: Perl Artistic License Price:
1067 downloads
SVGGraph 0.07
SVGGraph is a Perl extension for creating SVG Graphs / Diagrams / Charts / Plots. more>>
SVGGraph is a Perl extension for creating SVG Graphs / Diagrams / Charts / Plots.
SYNOPSIS
use SVGGraph;
my @a = (1, 2, 3, 4);
my @b = (3, 4, 3.5, 6.33);
print "Content-type: image/svg-xmlnn";
my $SVGGraph = new SVGGraph;
print SVGGraph->CreateGraph(
{title => Financial Results Q1 2002},
[@a, @b, Staplers, red]
);
This module converts sets of arrays with coordinates into graphs, much like GNUplot would. It creates the graphs in the SVG (Scalable Vector Graphics) format. It has two styles, verticalbars and spline. It is designed to be light-weight.
If your internet browser cannot display SVG, try downloading a plugin at adobe.com.
EXAMPLES
For examples see: http://pearlshed.nl/svggraph/1.png and http://pearlshed.nl/svggraph/2.png
Long code example:
#!/usr/bin/perl -w -I.
use strict;
use SVGGraph;
### Array with x-values
my @a = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
### Arrays with y-values
my @b = (-5, 2, 1, 5, 8, 8, 9, 5, 4, 10, 2, 1, 5, 8, 8, 9, 5, 4, 10, 5);
my @c = (6, -4, 2, 1, 5, 8, 8, 9, 5, 4, 10, 2, 1, 5, 8, 8, 9, 5, 4, 10);
my @d = (1, 2, 3, 4, 9, 8, 7, 6, 5, 12, 30, 23, 12, 17, 13, 23, 12, 10, 20, 11);
my @e = (3, 1, 2, -3, -4, -9, -8, -7, 6, 5, 12, 30, 23, 12, 17, 13, 23, 12, 10, 20);
### Initialise
my $SVGGraph = new SVGGraph;
### Print the elusive content-type so the browser knows what mime type to expect
print "Content-type: image/svg-xmlnn";
### Print the graph
print $SVGGraph->CreateGraph( {
graphtype => verticalbars, ### verticalbars or spline
imageheight => 300, ### The total height of the whole svg image
barwidth => 8, ### Width of the bar or dot in pixels
horiunitdistance => 20, ### This is the distance in pixels between 1 x-unit
title => Financial Results Q1 2002,
titlestyle => font-size:24;fill:#FF0000;,
xlabel => Week,
xlabelstyle => font-size:16;fill:darkblue,
ylabel => Revenue (x1000 USD),
ylabelstyle => font-size:16;fill:brown,
legendoffset => 10, 10 ### In pixels from top left corner
},
[@a, @b, Bananas, #FF0000],
[@a, @c, Apples, #006699],
[@a, @d, Strawberries, #FF9933],
[@a, @e, Melons, green]
);
<<lessSYNOPSIS
use SVGGraph;
my @a = (1, 2, 3, 4);
my @b = (3, 4, 3.5, 6.33);
print "Content-type: image/svg-xmlnn";
my $SVGGraph = new SVGGraph;
print SVGGraph->CreateGraph(
{title => Financial Results Q1 2002},
[@a, @b, Staplers, red]
);
This module converts sets of arrays with coordinates into graphs, much like GNUplot would. It creates the graphs in the SVG (Scalable Vector Graphics) format. It has two styles, verticalbars and spline. It is designed to be light-weight.
If your internet browser cannot display SVG, try downloading a plugin at adobe.com.
EXAMPLES
For examples see: http://pearlshed.nl/svggraph/1.png and http://pearlshed.nl/svggraph/2.png
Long code example:
#!/usr/bin/perl -w -I.
use strict;
use SVGGraph;
### Array with x-values
my @a = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
### Arrays with y-values
my @b = (-5, 2, 1, 5, 8, 8, 9, 5, 4, 10, 2, 1, 5, 8, 8, 9, 5, 4, 10, 5);
my @c = (6, -4, 2, 1, 5, 8, 8, 9, 5, 4, 10, 2, 1, 5, 8, 8, 9, 5, 4, 10);
my @d = (1, 2, 3, 4, 9, 8, 7, 6, 5, 12, 30, 23, 12, 17, 13, 23, 12, 10, 20, 11);
my @e = (3, 1, 2, -3, -4, -9, -8, -7, 6, 5, 12, 30, 23, 12, 17, 13, 23, 12, 10, 20);
### Initialise
my $SVGGraph = new SVGGraph;
### Print the elusive content-type so the browser knows what mime type to expect
print "Content-type: image/svg-xmlnn";
### Print the graph
print $SVGGraph->CreateGraph( {
graphtype => verticalbars, ### verticalbars or spline
imageheight => 300, ### The total height of the whole svg image
barwidth => 8, ### Width of the bar or dot in pixels
horiunitdistance => 20, ### This is the distance in pixels between 1 x-unit
title => Financial Results Q1 2002,
titlestyle => font-size:24;fill:#FF0000;,
xlabel => Week,
xlabelstyle => font-size:16;fill:darkblue,
ylabel => Revenue (x1000 USD),
ylabelstyle => font-size:16;fill:brown,
legendoffset => 10, 10 ### In pixels from top left corner
},
[@a, @b, Bananas, #FF0000],
[@a, @c, Apples, #006699],
[@a, @d, Strawberries, #FF9933],
[@a, @e, Melons, green]
);
Download (0.007MB)
Added: 2007-07-26 License: Perl Artistic License Price:
821 downloads
logmover 0.07
logmover archives logfiles generated by the logrotate program. more>>
logmover archives logfiles generated by the logrotate program. logmover renames the files using unique timestamps, moves them to an archive directory, and compresses them by using external compress programs like gzip and bzip2. The program is written in C, and is designed to be run by cron.
Enhancements:
- Preserves owner and mode of files, allows moving without renaming, and cleans up the build files.
<<lessEnhancements:
- Preserves owner and mode of files, allows moving without renaming, and cleans up the build files.
Download (0.010MB)
Added: 2006-08-08 License: GPL (GNU General Public License) Price:
1172 downloads
KAOMP 0.07
KAOMP is a Python/KDE application to download ordered files from AllOfMP3.com. more>>
KAOMP can be used to download songs from AllOfMp3. The songinformation can be retrieved from the MusicBrainz database to complete the song tags.
It is written in Python and requires pyCurl, pyQT and pyKDE, MusicBrainz, TunePimp and taglibs.
<<lessIt is written in Python and requires pyCurl, pyQT and pyKDE, MusicBrainz, TunePimp and taglibs.
Download (0.018MB)
Added: 2005-07-09 License: GPL (GNU General Public License) Price:
1569 downloads
File::Backup 0.07
File::Backup is a Perl module for easy file backup & rotation automation. more>>
File::Backup is a Perl module for easy file backup & rotation automation.
SYNOPSIS
use File::Backup;
backup( from => "/source/path", to => "/destination/path" );
backup( from => "/kansas/*", to => "/oz" );
purge_backups(
to => "/destination/path",
compress => 0,
keep => 5,
timeformat => "YYYYMMDD_hhmmss",
);
This legacy module implements archival and compression (A.K.A "backup") and file rotation and is an implementation of tar and gzip calls.
<<lessSYNOPSIS
use File::Backup;
backup( from => "/source/path", to => "/destination/path" );
backup( from => "/kansas/*", to => "/oz" );
purge_backups(
to => "/destination/path",
compress => 0,
keep => 5,
timeformat => "YYYYMMDD_hhmmss",
);
This legacy module implements archival and compression (A.K.A "backup") and file rotation and is an implementation of tar and gzip calls.
Download (0.008MB)
Added: 2007-04-25 License: Perl Artistic License Price:
913 downloads
ReleaseAction 0.07
ReleaseAction - call actions upon release. more>>
ReleaseAction - call actions upon release.
SYNOPSIS
use ReleaseAction on_release;
{
# OO style
my $handle = ReleaseAction->new(
sub {print "Exiting scopen"}
);
print "In scopen";
}
{
# Functional style
my $handle = on_release {print "Exiting scopen"};
print "In scopen";
}
{
my $rollback = on_release {rollback_trans()};
if (do_stuff()) {
$rollback->cancel();
}
}
This provides an easy way to create opaque handles which will do something when they are destroyed. There are two ways of creating a new handle. Both take one or more arguments, with the first being the action to take when the handle is released and the (optional) rest being the arguments that the handle will get.
new is the method oriented constructor.
my $handle = ReleaseAction->new(
sub {print shift}, "Goodbye cruel worldn"
);
And an optional function on_release that you can import. For those who like that sort of thing, I have provided the prototype &@ for syntactic sugar.
my $handle = on_release {print "Goodbye cruel worldn"};
And should you decide that you dont want to do the action on release after all, you can call the cancel() method. As suggested in the SYNOPSIS, this is useful if you wish to set up transactional mechanics. Make the release action do your cleanup. And then when you commit your changes, cancel the cleanup.
EXAMPLE
use ReleaseAction on_release;
# This does the same thing as the module SelectSaver.
sub tmp_select {
on_release {select shift} select shift;
}
print "This print goes to STDOUTn";
{
my $hold_select = tmp_select(*STDERR);
print "This print goes to STDERRn";
}
print "Printing to STDOUT againn";
A LONGER EXAMPLE
use Carp;
use Cwd;
use ReleaseAction;
sub cd_to {
chdir($_[0]) or confess("Cannot chdir to $_[0]: $!");
}
sub tmp_cd {
my $cwd = cwd();
cd_to(shift);
ReleaseAction->new(&cd_to, $cwd);
}
sub something_interesting {
my $in_dir = tmp_cd("some_dir");
# Do something interesting in the new dir
# I will automagically return to the old dir
# when I exit the subroutine and $in_dir goes
# out of scope.
}
<<lessSYNOPSIS
use ReleaseAction on_release;
{
# OO style
my $handle = ReleaseAction->new(
sub {print "Exiting scopen"}
);
print "In scopen";
}
{
# Functional style
my $handle = on_release {print "Exiting scopen"};
print "In scopen";
}
{
my $rollback = on_release {rollback_trans()};
if (do_stuff()) {
$rollback->cancel();
}
}
This provides an easy way to create opaque handles which will do something when they are destroyed. There are two ways of creating a new handle. Both take one or more arguments, with the first being the action to take when the handle is released and the (optional) rest being the arguments that the handle will get.
new is the method oriented constructor.
my $handle = ReleaseAction->new(
sub {print shift}, "Goodbye cruel worldn"
);
And an optional function on_release that you can import. For those who like that sort of thing, I have provided the prototype &@ for syntactic sugar.
my $handle = on_release {print "Goodbye cruel worldn"};
And should you decide that you dont want to do the action on release after all, you can call the cancel() method. As suggested in the SYNOPSIS, this is useful if you wish to set up transactional mechanics. Make the release action do your cleanup. And then when you commit your changes, cancel the cleanup.
EXAMPLE
use ReleaseAction on_release;
# This does the same thing as the module SelectSaver.
sub tmp_select {
on_release {select shift} select shift;
}
print "This print goes to STDOUTn";
{
my $hold_select = tmp_select(*STDERR);
print "This print goes to STDERRn";
}
print "Printing to STDOUT againn";
A LONGER EXAMPLE
use Carp;
use Cwd;
use ReleaseAction;
sub cd_to {
chdir($_[0]) or confess("Cannot chdir to $_[0]: $!");
}
sub tmp_cd {
my $cwd = cwd();
cd_to(shift);
ReleaseAction->new(&cd_to, $cwd);
}
sub something_interesting {
my $in_dir = tmp_cd("some_dir");
# Do something interesting in the new dir
# I will automagically return to the old dir
# when I exit the subroutine and $in_dir goes
# out of scope.
}
Download (0.004MB)
Added: 2007-05-24 License: Perl Artistic License Price:
883 downloads
WWW::GMail 0.07
WWW::GMail is a Perl extension for accessing Google Mail (gmail). more>>
WWW::GMail is a Perl extension for accessing Google Mail (gmail).
SYNOPSIS
use WWW::GMail;
my $obj = WWW::GMail->new(
username => "USERNAME",
password => "PASSWORD",
cookies => {
autosave => 1,
file => "./gmail.cookie",
},
);
my $ret = $obj->login();
if ($ret == -1) {
print "password incorrectn";
} elsif ($ret == 0) {
print "unable to login $obj->{error}n";
exit;
}
my @list = $obj->get_message_list(inbox);
# count the new messages in the inbox
my $new_msgs = 0;
for my $i ( 0 .. $#list ) {
$new_msgs += $list[$i]->[1]; # count the unread flags
}
print "you have $new_msgs new messages in your inboxn";
my @contacts = $obj->get_contact_list();
print "you have ".(@contacts)." contactsn";
my $gmail = 0;
for my $i ( 0 .. $#contacts ) {
$gmail += ($contacts[$i]->[3] =~ m/gmail.com$/i);
}
print "$gmail of them are gmail addressesn";
$obj->logout();
<<lessSYNOPSIS
use WWW::GMail;
my $obj = WWW::GMail->new(
username => "USERNAME",
password => "PASSWORD",
cookies => {
autosave => 1,
file => "./gmail.cookie",
},
);
my $ret = $obj->login();
if ($ret == -1) {
print "password incorrectn";
} elsif ($ret == 0) {
print "unable to login $obj->{error}n";
exit;
}
my @list = $obj->get_message_list(inbox);
# count the new messages in the inbox
my $new_msgs = 0;
for my $i ( 0 .. $#list ) {
$new_msgs += $list[$i]->[1]; # count the unread flags
}
print "you have $new_msgs new messages in your inboxn";
my @contacts = $obj->get_contact_list();
print "you have ".(@contacts)." contactsn";
my $gmail = 0;
for my $i ( 0 .. $#contacts ) {
$gmail += ($contacts[$i]->[3] =~ m/gmail.com$/i);
}
print "$gmail of them are gmail addressesn";
$obj->logout();
Download (0.008MB)
Added: 2006-11-28 License: Perl Artistic License Price:
1063 downloads
Getopt::OO 0.07
Getopt::OO is an object oriented command line parser. more>>
Getopt::OO is an object oriented command line parser. It handles short, long and multi (--x ... -) value options. Getopt::OO module also incorporates help for options to simplify generation of usage statements.
SYNOPSIS
use Getopt::OO qw(Debug Verbose);
my ($handle) = Getopt::OO->new(@ARGV,
-d => {
help => turn on debug output,
callback => sub {Debug(1); 0},
},
-o => {
help => another option.,
},
-f => {
help => option that expects one more value.,
n_values => 1,
},
--long {
help => long option
},
--multiple_ => {
help => [
"Everything between --multiple_values and - is",
"an value for this options",
],
multi_value => 1,
multiple= => 1, # Can happen more than once on command line.
},
other_values => {
help => file_1 ... file_n,
multi_value => 1,
},
);
if ($handle->Values()) {
Debug("You will get output if -d was on command line");
if (my $f = handle->Values(-f)) {
print "Got $f with the -f value.n";
}
}
else {
print "No options found on command line.n";
}
Getopt::OO is an object oriented tool for parsing command line arguments. It expects a reference to the input arguments and uses a perl hash to describe how the command line arguments should be parsed. Note that by parsed, we mean what options expect values, etc. We check to make sure values exist on the command line as necessary -- nothing else. The caller is responsible for making sure that a value that he knows should be a file exists, is writable, or whatever.
Command line arguments can be broken into two distinct types: options and values that are associated with these options. In windows, options often start with a / but sometimes with a -, but in unix they almost universally start with a -. For this module options start with a -. We support two types of options: the short single dashed options and the long double dashed options.
The difference between these two is that with this module the short options can be combined into a single option, but the long options can not. For example, most of us will be familiar with the tar -xvf file command which can also be expressed as -x -v -f file. Long options can not be combined this way, so --help for example must always stand by itself.
The input template expects the option names as its keys. For instance if you were expecting -xv --hello as possible command line options, the keys for your template hash would be -x, -v, and --hello.
<<lessSYNOPSIS
use Getopt::OO qw(Debug Verbose);
my ($handle) = Getopt::OO->new(@ARGV,
-d => {
help => turn on debug output,
callback => sub {Debug(1); 0},
},
-o => {
help => another option.,
},
-f => {
help => option that expects one more value.,
n_values => 1,
},
--long {
help => long option
},
--multiple_ => {
help => [
"Everything between --multiple_values and - is",
"an value for this options",
],
multi_value => 1,
multiple= => 1, # Can happen more than once on command line.
},
other_values => {
help => file_1 ... file_n,
multi_value => 1,
},
);
if ($handle->Values()) {
Debug("You will get output if -d was on command line");
if (my $f = handle->Values(-f)) {
print "Got $f with the -f value.n";
}
}
else {
print "No options found on command line.n";
}
Getopt::OO is an object oriented tool for parsing command line arguments. It expects a reference to the input arguments and uses a perl hash to describe how the command line arguments should be parsed. Note that by parsed, we mean what options expect values, etc. We check to make sure values exist on the command line as necessary -- nothing else. The caller is responsible for making sure that a value that he knows should be a file exists, is writable, or whatever.
Command line arguments can be broken into two distinct types: options and values that are associated with these options. In windows, options often start with a / but sometimes with a -, but in unix they almost universally start with a -. For this module options start with a -. We support two types of options: the short single dashed options and the long double dashed options.
The difference between these two is that with this module the short options can be combined into a single option, but the long options can not. For example, most of us will be familiar with the tar -xvf file command which can also be expressed as -x -v -f file. Long options can not be combined this way, so --help for example must always stand by itself.
The input template expects the option names as its keys. For instance if you were expecting -xv --hello as possible command line options, the keys for your template hash would be -x, -v, and --hello.
Download (0.019MB)
Added: 2006-10-28 License: Perl Artistic License Price:
1091 downloads
scanmem 0.07
scanmem is a debugging utility used to isolate the position of a variable in an executing program. more>>
scanmem is a debugging utility used to isolate the position of a variable in an executing program.
The project is similar to pokefinders used to cheat at games.
Enhancements:
- Performance improvements and reduced scan time, including miscellaneous improvements to various commands.
- A dejagnu test suite was started and the build process was autotooled.
- One serious bug where misaligned variables could potentially be missed by scanmem was fixed along with multiple minor bugs.
<<lessThe project is similar to pokefinders used to cheat at games.
Enhancements:
- Performance improvements and reduced scan time, including miscellaneous improvements to various commands.
- A dejagnu test suite was started and the build process was autotooled.
- One serious bug where misaligned variables could potentially be missed by scanmem was fixed along with multiple minor bugs.
Download (0.004MB)
Added: 2007-06-05 License: GPL (GNU General Public License) Price:
872 downloads
Pod::S5 0.07
Pod::S5 is a perl program which parses a POD input file and generates a ready to use HTML slideshow. more>>
Pod::S5 is a perl program which parses a POD input file and generates a ready to use HTML slideshow. The slideshow generated uses S5 by Eric Meyer as presentation engine. This project is a fabulous system using XHTML, CSS and Javascript.
Please note, Pod::S5 supports syntax highlighting of various languages using the perl Module Syntax::Highlight::Engine::Kate if its installed.
Ryan King came up with a new site devoted to development of S5 s5project, which aims to continue development of S5. The latest version of this site will be part of the next Pod::S5 version.
POD is an easy to learn structured markup language aimed to write documentation for Perl modules. Internal Link PodWiki uses this language as its markup and therefore I wanted to use it for HTML slideshows as well.
<<lessPlease note, Pod::S5 supports syntax highlighting of various languages using the perl Module Syntax::Highlight::Engine::Kate if its installed.
Ryan King came up with a new site devoted to development of S5 s5project, which aims to continue development of S5. The latest version of this site will be part of the next Pod::S5 version.
POD is an easy to learn structured markup language aimed to write documentation for Perl modules. Internal Link PodWiki uses this language as its markup and therefore I wanted to use it for HTML slideshows as well.
Download (0.46MB)
Added: 2007-04-05 License: Perl Artistic License Price:
932 downloads
Text::Macro 0.07
Text::Macro Perl module is a template facility whos focus is on generating code such as c, java or sql. more>>
Text::Macro Perl module is a template facility whos focus is on generating code such as c, java or sql. While generating perl code is also possible, there is a potential conflict between the control-symbol and the perl comment symbol.
Perl is excelent at manipulating text, and it begs the question why one would need such a tool.
The answer is that good code design should be such that applications should not have to be modified so as to make configuration changes. Thus external configuration files/data is used. However, if these files are read in as perl-code, then simple errors could crash the whole application (or provide subtle security risks). Further, it is often desired to invert the control flow and text-data (namely, make the embedded strings primary, and control-flow secondary). This is the ASP model, and for 90% HTML, 10% code, this works great.
This module supports many control facilities which directly translate into perl-control facilities (e.g. inverting the ASP-style code back into perl-style behind the scenes). The inversion process is cached in a simple user object.
The module was initially inspired by Text::FastTemplate by Robert Lehr, whos module didnt completely fullfill my needs.
Main features:
- fast, simple, robust
- code-generating-centric feature-set
- substitutions stand-out from template
- macro-code embedded in text
- OOP
- external and internal includes (for clearifying complex control-flow)
- scoped variable-substitutions
- line-based processing (like cpp)
- usable error messages
<<lessPerl is excelent at manipulating text, and it begs the question why one would need such a tool.
The answer is that good code design should be such that applications should not have to be modified so as to make configuration changes. Thus external configuration files/data is used. However, if these files are read in as perl-code, then simple errors could crash the whole application (or provide subtle security risks). Further, it is often desired to invert the control flow and text-data (namely, make the embedded strings primary, and control-flow secondary). This is the ASP model, and for 90% HTML, 10% code, this works great.
This module supports many control facilities which directly translate into perl-control facilities (e.g. inverting the ASP-style code back into perl-style behind the scenes). The inversion process is cached in a simple user object.
The module was initially inspired by Text::FastTemplate by Robert Lehr, whos module didnt completely fullfill my needs.
Main features:
- fast, simple, robust
- code-generating-centric feature-set
- substitutions stand-out from template
- macro-code embedded in text
- OOP
- external and internal includes (for clearifying complex control-flow)
- scoped variable-substitutions
- line-based processing (like cpp)
- usable error messages
Download (0.012MB)
Added: 2007-05-31 License: Perl Artistic License Price:
877 downloads
Bundle::OpenSRF 0.07
Bundle::OpenSRF Perl module can install all OpenSRF prereq modules available on CPAN. more>>
Bundle::OpenSRF Perl module can install all OpenSRF prereq modules available on CPAN.
SYNOPSIS
perl -MCPAN -e install Bundle::OpenSRF
or ...
cpan Bundle::OpenSRF
CONTENTS
Cache::FileCache Cache::Memcached DBI DBD::SQLite Digest::MD5 Error Fcntl Net::Server::PreFork Time::HiRes Unix::Syslog XML::LibXML Exception::Class (soon depreciated) Log-Log4perl
This bundle includes all CPAN-available prereq perl modules for the OpenSRF component of the Open-ILS (http://open-ils.org) Integrated Library System (library as in librarian).
Note that you MUST still follow the instructions on the wiki, preferably derived from the Debian, Ubuntu or Gentoo docs, for installing Perl dependencies, especially for the MARC::* related modules and Javascript::Spidermonkey. These bundles do not include the MARC::* modules, as their maintainers have not released updated versions, and it can not automate the installation of JS::SM without a good bit of work, because E4X support is required in Evergreen.
Note that you must install the Bundle::OpenILS separately.
Bundles have special meaning for the CPAN module. When you install the bundle module all modules mentioned in CONTENTS will be installed instead.
<<lessSYNOPSIS
perl -MCPAN -e install Bundle::OpenSRF
or ...
cpan Bundle::OpenSRF
CONTENTS
Cache::FileCache Cache::Memcached DBI DBD::SQLite Digest::MD5 Error Fcntl Net::Server::PreFork Time::HiRes Unix::Syslog XML::LibXML Exception::Class (soon depreciated) Log-Log4perl
This bundle includes all CPAN-available prereq perl modules for the OpenSRF component of the Open-ILS (http://open-ils.org) Integrated Library System (library as in librarian).
Note that you MUST still follow the instructions on the wiki, preferably derived from the Debian, Ubuntu or Gentoo docs, for installing Perl dependencies, especially for the MARC::* related modules and Javascript::Spidermonkey. These bundles do not include the MARC::* modules, as their maintainers have not released updated versions, and it can not automate the installation of JS::SM without a good bit of work, because E4X support is required in Evergreen.
Note that you must install the Bundle::OpenILS separately.
Bundles have special meaning for the CPAN module. When you install the bundle module all modules mentioned in CONTENTS will be installed instead.
Download (0.003MB)
Added: 2007-07-26 License: Perl Artistic License Price:
820 downloads
PEBL 0.07
PEBL is the psychology experiment building language. more>>
PEBL is software for creating psychology experiments.
PEBL offers a simple programming language tailor-made for creating and conducting simple experiments. It is Free software, licensed under the GPL, with both the compiled executables and source code available without charge.
PEBL is programmed primarily in C++, but also uses flex and bison (GNU versions of lex and yacc) to handle parsing.
PEBL is designed to be easily used on multiple computing platforms. Its current implementation uses the SDL as its implementation platform, which is also a cross-platform library that compiles natively under Win32, Linux, and Macintosh Operating Systems. Currently, PEBL works on Windows and Linux.
Enhancements:
- This version includes a number of useful functions, improved documentation, new fonts, and the ability to do simple TCP/IP networking.
- Three supplementary packages are now available: the PEBL Image Archive, the PEBL sound archive, and the PEBL Test Battery.
- The Test battery represents an initial attempt to cover a number of standard tasks used in psychological and neuropsych testing, including versions of the Wisconsin Card Sort, Iowa Gambling task, Test of Variables of Attention, and a number of others.
<<lessPEBL offers a simple programming language tailor-made for creating and conducting simple experiments. It is Free software, licensed under the GPL, with both the compiled executables and source code available without charge.
PEBL is programmed primarily in C++, but also uses flex and bison (GNU versions of lex and yacc) to handle parsing.
PEBL is designed to be easily used on multiple computing platforms. Its current implementation uses the SDL as its implementation platform, which is also a cross-platform library that compiles natively under Win32, Linux, and Macintosh Operating Systems. Currently, PEBL works on Windows and Linux.
Enhancements:
- This version includes a number of useful functions, improved documentation, new fonts, and the ability to do simple TCP/IP networking.
- Three supplementary packages are now available: the PEBL Image Archive, the PEBL sound archive, and the PEBL Test Battery.
- The Test battery represents an initial attempt to cover a number of standard tasks used in psychological and neuropsych testing, including versions of the Wisconsin Card Sort, Iowa Gambling task, Test of Variables of Attention, and a number of others.
Download (0.65MB)
Added: 2006-06-01 License: GPL (GNU General Public License) Price:
1241 downloads
Convert::PEM 0.07
Convert::PEM is Perl module that read/write encrypted ASN.1 PEM files. more>>
Convert::PEM is Perl module that read/write encrypted ASN.1 PEM files.
SYNOPSIS
use Convert::PEM;
my $pem = Convert::PEM->new(
Name => "DSA PRIVATE KEY",
ASN => qq(
DSAPrivateKey SEQUENCE {
version INTEGER,
p INTEGER,
q INTEGER,
g INTEGER,
pub_key INTEGER,
priv_key INTEGER
}
));
my $pkey = $pem->read(
Filename => $keyfile,
Password => $pwd
);
$pem->write(
Content => $pkey,
Password => $pwd,
Filename => $keyfile
);
Convert::PEM reads and writes PEM files containing ASN.1-encoded objects. The files can optionally be encrypted using a symmetric cipher algorithm, such as 3DES. An unencrypted PEM file might look something like this:
-----BEGIN DH PARAMETERS-----
MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM=
-----END DH PARAMETERS-----
The string beginning MB4C... is the Base64-encoded, ASN.1-encoded "object."
An encrypted file would have headers describing the type of encryption used, and the initialization vector:
-----BEGIN DH PARAMETERS-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,C814158661DC1449
AFAZFbnQNrGjZJ/ZemdVSoZa3HWujxZuvBHzHNoesxeyqqidFvnydA==
-----END DH PARAMETERS-----
The two headers (Proc-Type and DEK-Info) indicate information about the type of encryption used, and the string starting with AFAZ... is the Base64-encoded, encrypted, ASN.1-encoded contents of this "object."
The initialization vector (C814158661DC1449) is chosen randomly.
<<lessSYNOPSIS
use Convert::PEM;
my $pem = Convert::PEM->new(
Name => "DSA PRIVATE KEY",
ASN => qq(
DSAPrivateKey SEQUENCE {
version INTEGER,
p INTEGER,
q INTEGER,
g INTEGER,
pub_key INTEGER,
priv_key INTEGER
}
));
my $pkey = $pem->read(
Filename => $keyfile,
Password => $pwd
);
$pem->write(
Content => $pkey,
Password => $pwd,
Filename => $keyfile
);
Convert::PEM reads and writes PEM files containing ASN.1-encoded objects. The files can optionally be encrypted using a symmetric cipher algorithm, such as 3DES. An unencrypted PEM file might look something like this:
-----BEGIN DH PARAMETERS-----
MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM=
-----END DH PARAMETERS-----
The string beginning MB4C... is the Base64-encoded, ASN.1-encoded "object."
An encrypted file would have headers describing the type of encryption used, and the initialization vector:
-----BEGIN DH PARAMETERS-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,C814158661DC1449
AFAZFbnQNrGjZJ/ZemdVSoZa3HWujxZuvBHzHNoesxeyqqidFvnydA==
-----END DH PARAMETERS-----
The two headers (Proc-Type and DEK-Info) indicate information about the type of encryption used, and the string starting with AFAZ... is the Base64-encoded, encrypted, ASN.1-encoded contents of this "object."
The initialization vector (C814158661DC1449) is chosen randomly.
Download (0.020MB)
Added: 2006-08-17 License: Perl Artistic License Price:
1169 downloads
ControlX10::CM17 0.07
ControlX10::CM17 is a Perl extension for FireCracker RF Transmitter. more>>
ControlX10::CM17 is a Perl extension for FireCracker RF Transmitter.
SYNOPSIS
use ControlX10::CM17;
# $serial_port is an object created using Win32::SerialPort
# or Device::SerialPort depending on OS
# my $serial_port = setup_serial_port(COM10, 4800);
&ControlX10::CM17::send($serial_port, A1J);
# Turns device A1 On
&ControlX10::CM17::send($serial_port, A1K);
# Turns device A1 Off
&ControlX10::CM17::send($serial_port, BO);
# Turns All lights on house code B off
The FireCracker (CM17A) is a send-only X10 controller that connects to a serial port and transmits commands via RF to X10 transceivers.
The FireCracker derives its power supply from either the RTS or DTR signals from the serial port. At least one of these signals must be high at all times to ensure that power is not lost from the FireCracker. The signals are pulsed to transmit a bit (DTR for 1 and RTS for 0). The normal rx/tx read/write lines are not used by the device - but are passed through to allow another serial device to be connected (as long as it does not require hardware handshaking).
A 40-bit command packet consists of a constant 16 bit header, a constant 8 bit footer, and 16 data bits. The data is subdivided into a 5 bit address $house code (A-P) and an 11 bit $operation. There are "ON" commands for 16 units per $house code (1J, 2J...FJ, GJ) and similar "OFF" commands (1K, 2K...FK, GK). A send decodes a parameter string that combines $house$operation into a single instruction. In addition to $operation commands that act on individual units, there are some that apply to the entire $house code or to previous commands.
$operation FUNCTION
L Brighten Last Light Programmed 14%
M Dim Last Light Programmed 14%
N All Lights Off
O All Lights On
P All Units Off
Starting with Version 0.6, a series of Brighten or Dim Commands may be combined into a single $operation by specifying a signed amount of change desired after the unit code. An "ON" command will be sent to select the unit followed by at least one Brighten/Dim. The value will round to the next larger magnitude if not a multiple of 14%.
&ControlX10::CM17::send($serial_port, A3-10);
# outputs A3J,AM - at least one dim
&ControlX10::CM17::send($serial_port, A3-42);
# outputs A3J,AM,AM,AM - even multiple of 14
&ControlX10::CM17::send($serial_port, AF-45);
# outputs AFJ,AL,AL,AL,AL - round up if remainer
<<lessSYNOPSIS
use ControlX10::CM17;
# $serial_port is an object created using Win32::SerialPort
# or Device::SerialPort depending on OS
# my $serial_port = setup_serial_port(COM10, 4800);
&ControlX10::CM17::send($serial_port, A1J);
# Turns device A1 On
&ControlX10::CM17::send($serial_port, A1K);
# Turns device A1 Off
&ControlX10::CM17::send($serial_port, BO);
# Turns All lights on house code B off
The FireCracker (CM17A) is a send-only X10 controller that connects to a serial port and transmits commands via RF to X10 transceivers.
The FireCracker derives its power supply from either the RTS or DTR signals from the serial port. At least one of these signals must be high at all times to ensure that power is not lost from the FireCracker. The signals are pulsed to transmit a bit (DTR for 1 and RTS for 0). The normal rx/tx read/write lines are not used by the device - but are passed through to allow another serial device to be connected (as long as it does not require hardware handshaking).
A 40-bit command packet consists of a constant 16 bit header, a constant 8 bit footer, and 16 data bits. The data is subdivided into a 5 bit address $house code (A-P) and an 11 bit $operation. There are "ON" commands for 16 units per $house code (1J, 2J...FJ, GJ) and similar "OFF" commands (1K, 2K...FK, GK). A send decodes a parameter string that combines $house$operation into a single instruction. In addition to $operation commands that act on individual units, there are some that apply to the entire $house code or to previous commands.
$operation FUNCTION
L Brighten Last Light Programmed 14%
M Dim Last Light Programmed 14%
N All Lights Off
O All Lights On
P All Units Off
Starting with Version 0.6, a series of Brighten or Dim Commands may be combined into a single $operation by specifying a signed amount of change desired after the unit code. An "ON" command will be sent to select the unit followed by at least one Brighten/Dim. The value will round to the next larger magnitude if not a multiple of 14%.
&ControlX10::CM17::send($serial_port, A3-10);
# outputs A3J,AM - at least one dim
&ControlX10::CM17::send($serial_port, A3-42);
# outputs A3J,AM,AM,AM - even multiple of 14
&ControlX10::CM17::send($serial_port, AF-45);
# outputs AFJ,AL,AL,AL,AL - round up if remainer
Download (0.008MB)
Added: 2007-04-16 License: Perl Artistic License Price:
923 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 googlemaps 0.07 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