Main > Free Download Search >

Free parameters software for linux

parameters

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1257
Perl6::Parameters 0.03

Perl6::Parameters 0.03


Perl6::Parameters is a module with Perl 6-style prototypes with named parameters. more>>
Perl6::Parameters is a module with Perl 6-style prototypes with named parameters.

SYNOPSIS

use Perl6::Parameters;

sub mysub($foo, ARRAY $bar, *%rest) {
...
}

DETAILS

Perl6::Parameters is a Perl module which simulates Perl 6s named parameters. (When I talk about "named parameters" I mean something like the parameters youre used to from C, Java and many other languages--not pass-a-hash-with-the-parameters-in-it things.)

Like most other programming languages, Perl 6 will support subroutines with pre-declared variables the parameters are put into. (Using this will be optional, however.) This goes far beyond the "line-noise prototypes" available in Perl 5, which only allow you to control context and automatically take references to some parameters--lines like my($first, $second)=(@_) will no longer be necessary.

Although Perl 6 will have this, Perl 5 doesnt; this module makes it so that Perl 5 does. It uses some other Perl 6-isms too, notably the names for builtin types and the unary-asterisk notation for flattening a list.

Crafting Parameter Lists

Crafting parameter lists is simple; just declare your subroutine and put the parameters separated by commas or semicolons, in parenthesis. (Using a semicolon signifies that all remaining parameters are optional; this may not be available this way in Perl 6, but Im assuming it is until I hear otherwise.)

Most parameters are just variable names like $foo; however, more sophisticated behavior is possible. There are three ways to achieve this.

The first way is by specifying a type for the variable. Certain types make the actual parameters turn into references to themselves:

ARRAY $foo

This turns an array into a reference to itself and stores the reference into $foo.

HASH $foo

This turns a hash into a reference to itself and stores the reference into $foo.

CODE $foo

This turns a subroutine into a reference to itself and stores the reference into $foo.

SCALAR $foo

This turns a scalar into a reference to itself and stores the reference into $foo.

GLOB $foo

This turns a typeglob into a reference to itself and stores the reference into $foo. Typeglobs will be going away in Perl 6; this type exists in this module so that its useful for general use in Perl 5.

REF $foo

This turns any parameter into a reference to itself and stores it into $foo.

This only works in Perl 5.8. Otherwise, its treated the same as any other unrecognized type name.

AnythingElse $foo

This has no effect in this module; its treated as though youd typed $foo without the AnythingElse.

For example, if a subroutine had the parameters ($foo, HASH $bar, CODE $baz) and was called with ($scalar, %hash, &mysub) the subroutine would get the contents of $scalar, a reference to %hash and a reference to &mysub.
The second way is by supplying an actual array or hash as a parameter name. This requires an array or hash to be passed in for that parameter; it preserves the length of the array or hash.

The final way is only available for the last parameter: if an array or hash is prefixed with an asterisk, that array or hash will be filled with any additional parameters.

<<less
Download (0.004MB)
Added: 2007-06-22 License: Perl Artistic License Price:
854 downloads
Lemonldap::Config::Parameters 3.1.1

Lemonldap::Config::Parameters 3.1.1


emonldap::Config::Parameters is a Perl module as a Backend of configuration for lemonldap SSO system. more>>
emonldap::Config::Parameters is a Perl module as a Backend of configuration for lemonldap SSO system.

SYNOPSIS

#!/usr/bin/perl
use Lemonldap::Config::Parameters;
use Data::Dumper;
my $nconfig= Lemonldap::Config::Parameters->new(
file =>applications.xml,
cache => /tmp/CONF );
my $conf= $nconfig->getAllConfig;
my $cg=$nconfig->getDomain(appli.cp);
my $ligne= $cg;
print Dumper( $ligne);
my $e = $cg->{templates_options} ;
my $opt= "templates_dir";
my $va = $cg->{$opt};
my $ligne= $nconfig->formateLineHash($e,$opt,$va) ;

or by API :
Lemonldap::Config::Parameters::f_delete(/tmp/CONF);

or by command line
perl -e "use Lemonldap::Config::Parameters; Lemonldap::Config::Parameters::f_delete(/tmp/CONF);"

<<less
Download (0.012MB)
Added: 2007-03-21 License: Perl Artistic License Price:
948 downloads
Params::Validate 0.88

Params::Validate 0.88


Params::Validate is a Perl module to validate method/function parameters. more>>
Params::Validate is a Perl module to validate method/function parameters.

SYNOPSIS

use Params::Validate qw(:all);

# takes named params (hash or hashref)
sub foo
{
validate( @_, { foo => 1, # mandatory
bar => 0, # optional
}
);
}

# takes positional params
sub bar
{
# first two are mandatory, third is optional
validate_pos( @_, 1, 1, 0 );
}


sub foo2
{
validate( @_,
{ foo =>
# specify a type
{ type => ARRAYREF },

bar =>
# specify an interface
{ can => [ print, flush, frobnicate ] },

baz =>
{ type => SCALAR, # a scalar ...
# ... that is a plain integer ...
regex => qr/^d+$/,
callbacks =>
{ # ... and smaller than 90
less than 90 => sub { shift() < 90 },
},
}
}
);
}

sub with_defaults
{
my %p = validate( @_, { foo => 1, # required
# $p{bar} will be 99 if bar is not
# given. bar is now optional.
bar => { default => 99 } } );
}

sub pos_with_defaults
{
my @p = validate_pos( @_, 1, { default => 99 } );
}

sub sets_options_on_call
{
my %p = validate_with
( params => @_,
spec => { foo => { type SCALAR, default => 2 } },
normalize_keys => sub { $_[0] =~ s/^-//; lc $_[0] },
);
}

The Params::Validate module allows you to validate method or function call parameters to an arbitrary level of specificity. At the simplest level, it is capable of validating the required parameters were given and that no unspecified additional parameters were passed in.

It is also capable of determining that a parameter is of a specific type, that it is an object of a certain class hierarchy, that it possesses certain methods, or applying validation callbacks to arguments.

<<less
Download (0.078MB)
Added: 2007-04-11 License: Perl Artistic License Price:
927 downloads
hdparm 7.6

hdparm 7.6


hdparm is a Linux shell utility for viewing and manipulating various IDE drive and driver parameters. more>>
hdparm project is a Linux shell utility for viewing and manipulating various IDE drive and driver parameters.
Most drives can benefit from improved performance using a command similar to "hdparm -qm8 -qu1 -qc1 -qd1 /dev/hda".
Enhancements:
- added -F flag to flush on-drive write cache buffer
- replaced use of shm* functions with of mmap()/mlock()
- removed gcc -Wextra flag --> unsupported on Debian Sarge
- re-allow use of --security-freeze in combination with other flags
<<less
Download (0.044MB)
Added: 2007-06-20 License: BSD License Price:
538 downloads
SPWrapper 0.8.0

SPWrapper 0.8.0


SPWrapper analyzes Oracle database system tables. more>>
SPWrapper project analyzes Oracle database system tables, finds out parameter names and types, and writes the Java code necessary for calling stored procedures.
Do you ever needed to use stored procedures from java code? Perhaps you had to write first the stored procedure, then you had to write that boring java code with all those register parameters and getInt/getString etc.
Then perhaps you needed to change some parameters and had to check and correct the java code. And what about double checking that the connection was closed and the exception catched in the right way?
I had to do it a lot of times... then I realized that once you have written and compiled the stored procedure in you database all the needed information about parameters is available. A program could read this information and write for me the needed java code.
SPWrapper is the result of this idea. Currently it works with the Oracle database, but in the future I plan support other databases.
Enhancements:
- Now SPWrapper is able to create stored procedure wrappers also for SqlServer, Mysql and Postgresql
<<less
Download (1.0MB)
Added: 2007-07-26 License: GPL (GNU General Public License) Price:
820 downloads
Imager::Filters 0.54

Imager::Filters 0.54


Imager::Filters is an entire image filtering operations. more>>
Imager::Filters is an entire image filtering operations.

SYNOPSIS

use Imager;

$img = ...;

$img->filter(type=>autolevels);
$img->filter(type=>autolevels, lsat=>0.2);
$img->filter(type=>turbnoise)

# and lots of others

load_plugin("dynfilt/dyntest.so")
or die "unable to load pluginn";

$img->filter(type=>lin_stretch, a=>35, b=>200);

unload_plugin("dynfilt/dyntest.so")
or die "unable to load pluginn";

$out = $img->difference(other=>$other_img);

Filters are operations that have similar calling interface.

filter

Parameters:

type - the type of filter, see "Types of Filters".

many other possible parameters, see "Types of Filters" below.

<<less
Download (0.83MB)
Added: 2006-10-17 License: Perl Artistic License Price:
1102 downloads
sdp2rat 0.3

sdp2rat 0.3


sdp2rat is a Perl script that parses SDP files and launches RAT with the parameters found in the file. more>>
sdp2rat is a Perl script that parses SDP files and launches RAT with the parameters found in the file. The SDP file can either be a file on local disk or a URL. sdp2rat now uses the Net::SDP perl module and the latest version is available as part of that package.
Enhancements:
- Opens SDP files as URLs as well as on disk
<<less
Download (MB)
Added: 2006-08-02 License: GPL (GNU General Public License) Price:
1181 downloads
GEBORA Beta5

GEBORA Beta5


GEBORA is an administrative tool for the Oracle Relational Database Management System. more>>
GEBORA is an administrative tool for the Oracle Relational Database Management System. GEBORA project is an OpenSource alternative to TOAD.
Since beta-2, GEBORA uses native look-and-feel. This approach looks faster in Windows when huge tables are filled (something about 2000 or more rows).
Main features:
- Send manually created SQL commands to server, showing the results in a table;
- Browse thru all database schemas (users) and its tables and packages;
- Display tables:
- Data (with filter, ordering and printing);
- Columns (can be printed, too);
- Relations (foreign keys) in both directions (referenced tables and tables that references a table);
- Statistics (with unique profile generation and print);
- Creation script (without constraints);
- Display stored procedures source code and parameters;
- Run stored procedures, defining and viewing IN/OUT parameters.
<<less
Download (0.79MB)
Added: 2006-10-17 License: GPL (GNU General Public License) Price:
1102 downloads
Particle Simulation 0.9.1

Particle Simulation 0.9.1


Particle Simulation is a simulation of spraying up to 60k particles in realtime. more>>
Particle Simulation project is a simulation of spraying up to 60k particles in realtime.
Particle Simulation is a playful simulation game which allows you to spray particles into the "air". The number of simulated particles is only limited by the speed of your computer.
The particles dont interact with each other, but will bounce back from the ground and accelerate depending on a gravity constant.
This constant can be changed (along with a number of other parameters) in the source code or via commandline parameters.
Enhancements:
- Colors were adjusted and a new animation mode was introduced.
- Segmentation fault was fixed.
<<less
Download (0.66MB)
Added: 2007-01-10 License: GPL (GNU General Public License) Price:
1057 downloads
MySQL Abstractor 2.2

MySQL Abstractor 2.2


MySQL Abstractor package contains PHP classes that implements a MySQL database abstraction layer. more>>
MySQL Abstractor package contains PHP classes that implements a MySQL database abstraction layer.

It provides several classes. There is one for establishing connections and executing SQL queries, another for composing and executing SELECT, INSERT, UPDATE and DELETE queries from a list of parameters, and a wrapper class to simplify the usage of the other two classes.

<<less
Download (MB)
Added: 2007-07-24 License: MIT/X Consortium License Price:
502 downloads
SPAR 1.2

SPAR 1.2


Sdp PARser is the conferencing utility. more>>
Sdp PARser is the conferencing utility. New multicast capable multimedia applications, such as RealPlayer and Marratech Pro, can accept files containing session descriptions (in SDP format) to join a multicast conference. This allows SDP files to be served from a web page and a conference joined, using a registered SDP MIME type associated with the application.

Alternatively popular MBone applications, such as VIC, RAT, WB and NTE rely on the Session Directory Tool (SDR) to convert the SDP into command line parameters and thus cannot take advantage of joining conferences via a web page. The solution offered here is to accept the SDP from the web browser, convert it to command line parameters at the client side and then to start up the tools with the relevant parameters. This could be implemented in several possible ways:

* a platform dependent binary running on the client machine with a MIME type for the SDP
* a plug-in installed in the browser
* a Java applet with execution privileges

The Java applet was implemented because it doesnt requiere a installation or configuration by the user and is platform independent.

<<less
Download (0.011MB)
Added: 2006-06-16 License: (FDL) GNU Free Documentation License Price:
1226 downloads
Class::ParmList 1.05

Class::ParmList 1.05


Class::ParmList is a Perl module with methods for processing named parameter lists. more>>
Class::ParmList is a Perl module with methods for processing named parameter lists.

SYNOPSIS

use Class::ParmList qw(simple_parms parse_parms);

$thingy->some_method({
-bgcolor => #ff0000,
-textcolor => #000000
});

sub some_method {
my ($self) = shift;

my ($parm_ref) = @_;

my $parms = Class::ParmList->new ({
-parms => $parm_ref,
-legal => [qw (-textcolor -border -cellpadding)],
-required => [qw (-bgcolor)],
-defaults => {
-bgcolor => "#ffffff",
-textcolor => "#000000"
}
});

if (not defined $parms) {
my $error_message = Class::ParmList->error;
die ($error_message);
}

# Stuff...

}

sub another_method {
my $self = shift;
my ($name,$rank,$serial_number) = simple_parms([qw(-name -rank -serial_number)], @_);

#...
}

sub still_another {
my $parms = parse_parms ({
-parms => @_,
-legal => [qw (-textcolor -border -cellpadding)],
-required => [qw (-bgcolor)],
-defaults => {
-bgcolor => "#ffffff",
-textcolor => "#000000"
}
});
if (not defined $parms) {
my $error_message = Class::ParmList->error;
die ($error_message);
}

# ...
}

This is a simple package for validating calling parameters to a subroutine or method. It allows you to use "named parameters" while providing checking for number and naming of parameters for verifying inputs are as expected and meet any minimum requirements. It also allows the setting of default values for the named parameters if omitted.

<<less
Download (0.016MB)
Added: 2007-03-03 License: Perl Artistic License Price:
966 downloads
Neurofitter 0.9.2

Neurofitter 0.9.2


A software for parameter tuning of electrophysiological neuron model. more>> Neurofitter is software for parameter tuning of electrophysiological neuron models.
It automatically searches for sets of parameters of neuron models that best fit available experimental data, and therefore acts as an interface between neuron simulators, like Neuron or Genesis, and optimization algorithms, like Particle Swarm Optimization, Evolutionary Strategies, etc.
.
<<less
Download (225KB)
Added: 2009-04-07 License: Others Price: FREE
199 downloads
Perl6::Placeholders 0.07

Perl6::Placeholders 0.07


Perl6::Placeholders is a Perl 6 implicitly declared parameters for Perl 5. more>>
Perl6::Placeholders is a Perl 6 implicitly declared parameters for Perl 5.

SYNOPSIS

use Perl6::Placeholders;

my $add = { $^a + $^b }; # Create a sub that adds its two args

print $add->(1,2), "n"; # Call it

# Use as map, grep, and sort blocks
print join ",", sort { $^y $^x } 1..10;
print join "n", map { $^value**2 } 1..10;
print join "n", map { $data{$_-1}.$^value**2 } 1..10;
print join "n", grep { $data{$^value} } 1..10;

my $div = { $^x / $^y }; # Create a HOF that divides its two args

print $div->(1,2), "n"; # Do a division

<<less
Download (0.004MB)
Added: 2007-07-04 License: Perl Artistic License Price:
842 downloads
FrameNet::WordNet::Detour 0.99c

FrameNet::WordNet::Detour 0.99c


FrameNet::WordNet::Detour is a WordNet to FrameNet Detour. more>>
FrameNet::WordNet::Detour is a WordNet to FrameNet Detour.

SYNOPSIS

use FrameNet::WordNet::Detour;

# Creation without parameters, $WNHOME and $FNHOME will be used
my $detour = FrameNet::WordNet::Detour->new;

# Creation with some parameters
my $detour2 = FrameNet::WordNet::Detour->new(-wnhome => /path/to/WordNet,
-fnhome => /path/to/FrameNet
-cached => 1,
-limited => undef);

my $result = $detour->query("walk#v#1");

if ($result->is_ok) {
print "Best frames: n";
print join( , @{$result->get_best_framenames})."n";

print "All frames: n";
print join( , @{$result->get_all_framenames})."n";

print "All frames with weights: n";
foreach my $frame (@{$result->get_all_frames}) {
print $frame->name.": ";
print $frame->get_weight."n";
}
} else {
print $result->message."n";
}

<<less
Download (0.015MB)
Added: 2007-04-03 License: Perl Artistic License Price:
939 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5