Main > Free Download Search >

Free 0.02 software for linux

0.02

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 232
WWW::Yahoo::Links 0.02

WWW::Yahoo::Links 0.02


WWW:Yahoo:Links 0.02 is yet another excellent utility for webmasters. It actually allows you to track Inbound Links in Yahoo Site Explorer API more>>

WWW:Yahoo:Links 0.02 is yet another excellent utility for webmasters. It actually allows you to track Inbound Links in Yahoo Site Explorer API.

Enhancements: 2008-08-06

  • Corrected "Errors" response handling
  • Fixed JSON version in requirements
  • Verbose testing
<<less
Added: 2008-10-20 License: Perl Artistic License Price: FREE
14 downloads
Text::PromptBalanced 0.02

Text::PromptBalanced 0.02


Text::PromptBalanced aid in creating CLI prompts that keep track of balanced text. more>>
Text::PromptBalanced aid in creating CLI prompts that keep track of balanced text.

SYNOPSIS

use Text::PromptBalanced qw(balance_factory);
($state,$balance) = balance_factory(
string => { type => toggle, open => " },
paren => {
type => balanced, open => (, close => ), ignore_in => string },
comment => { type => eol, open => ;, ignore_in => string },
escape => { type => escape, open => }
);
while(< STDIN >) {
my $cur_balance = $balance->($_);
if($state->{string}==1) { print q["> ] }
elsif($state->{paren} > 0) { print qq[($cur_balance> ] }
elsif($cur_balance < 0)
{ warn "Unbalanced paren at character $cur_balance" }
else { print q[0> ] }
}

<<less
Download (0.006MB)
Added: 2007-08-22 License: Perl Artistic License Price:
797 downloads
Math::HashSum 0.02

Math::HashSum 0.02


Math::HashSum can sum a list of key-value pairs on a per-key basis. more>>
Math::HashSum can sum a list of key-value pairs on a per-key basis.

SYNOPSIS

use Math::HashSum qw(hashsum);

my %hash1 = (a=>.1, b=>.4);
my %hash2 = (a=>.2, b=>.5);
my %sum = hashsum(%hash1,%hash2);

print "$sum{a}n"; # Prints .3
print "$sum{b}n"; # Prints .9

This module allows you to sum a list of key-value pairs on a per-key basis. It adds up all the values associated with each key in the given list and returns a hash containing the sum associated with each key.

The example in the synopsis should explain usage of the module effectively.

<<less
Download (0.018MB)
Added: 2007-08-09 License: Perl Artistic License Price:
807 downloads
Template::Plugin::HtmlToText 0.02

Template::Plugin::HtmlToText 0.02


Template::Plugin::HtmlToText is a plugin interface to HTML::FormatText. more>>
Template::Plugin::HtmlToText is a plugin interface to HTML::FormatText.

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

[% USE HtmlToText %]

# use html2text FILTER to var myhtml or myhtmltext
[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 50) %]
[% myhtmltext | html2text %]

# not to a var, but to html code
[% FILTER html2text %]
heavy
[% END %]
[%# output is "heavy", no %]

This plugin provides an interface to the HTML::FormatText module which format HTML as plaintext.

<<less
Download (0.003MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
Convert::Transcribe 0.02

Convert::Transcribe 0.02


Convert::Transcribe is a Perl extension for transcribing natural languages. more>>
Convert::Transcribe is a Perl extension for transcribing natural languages.

SYNOPSIS

use Convert::Transcribe;

$t = new Convert::Transcribe();
$t->fromfile(filename);
# or
$t = new Convert::Transcribe();
$t->fromstring("transcription def. containing newlines");
# or
$t = new Convert::Transcribe(filename);
# or
$t = new Convert::Transcribe("transcription def. containing newlines");

$t->transcribe("text");

$t->generated_code(); # for debugging

<<less
Download (0.004MB)
Added: 2007-07-27 License: Perl Artistic License Price:
820 downloads
XML::DOM::XML_Base 0.02

XML::DOM::XML_Base 0.02


XML::DOM::XML_Base Perl module can apply xml:base to attribute values. more>>
XML::DOM::XML_Base Perl module can apply xml:base to attribute values.

SYNOPSIS

use XML::DOM::XML_Base;
my $parser = XML::DOM::Parser->new();

my $xml = qq(





);

# build the DOM
my $dom = $parser->parse( $xml );

# get some elements
my $endo = $dom->getElementsByTagName( endo )->item( 0 );
my $meso = $dom->getElementsByTagName( meso )->item( 0 );
my $ecto = $dom->getElementsByTagName( ecto )->item( 0 );

print $endo->getBase()."n"; # a/b/c/
print $meso->getBase()."n"; # a/b/
print $ecto->getBase()."n"; # a/

print $endo->getAttributeWithBase( x )."n"; # a/b/c/3
print $meso->getAttributeWithBase( x )."n"; # a/b/2
print $ecto->getAttributeWithBase( x )."n"; # a/1

<<less
Download (0.003MB)
Added: 2007-07-20 License: Perl Artistic License Price:
826 downloads
Gestinanna::Util 0.02

Gestinanna::Util 0.02


Gestinanna::Util Perl module contains utility functions. more>>
Gestinanna::Util Perl module contains utility functions.

SYNOPSIS

use Gestinanna::Util qw(:path);

my $regex = path2regex($path)
my $cmp = path_cmp($path_a, $path_b);

use Gestinanna::Util qw(:hash);

my $new_hash = deep_merge_hash(@hashes);

This module provides utility functions that have no better place to be. Sets of utility functions may be imported by specifying their tags.

:path

Imports: path2regex, path_cmp

PATHS

Paths are made up of a sub-set of the XPath language:

/

The slash (/) is the component separator. Alone, it describes the root of the
resource heirarchy.

//

The double slash (//) stands in place of any number of components (zero or more). Alone, it matches any possible path that does not specify attributes or a final component. To match any component with any attributes, use //*|//*@*.

@

The at sign (@) is the attribute separator. A path should only have one. It separates the final component from any attribute. If no attribute follows it, it stands for the general collection of attributes for an object.

|

The pipe symbol (|) separates paths which together specify a union.

&

The ampersand (&) separates paths which together specify an intersection. Intersection has higher precedence to union. For example, the path //a/* & //*@name | //b/* is considered to be (//a/* & //*@name) | //b/*, not //a/* & (//*@name | //b/*). There are no parenthesis for grouping in actual path expressions.

!

An odd number of initial bangs (!) will negate the following clause, up to a pipe (|) or ampersand (&). An even number of initial bangs will have no effect.

Examples:

The following are some examples of paths.

//*

This matches any path. Attaching attributes to this path will apply them to all objects.

//*@name

This matches the name attribute of all objects.

//*/*

This matches any component that is not at the top-level.

!//a//* & //b//*

This matches any path that has a b component and not an a component.

<<less
Download (0.21MB)
Added: 2007-07-06 License: Perl Artistic License Price:
840 downloads
PDL::Opt::NonLinear 0.02

PDL::Opt::NonLinear 0.02


PDL::Opt::NonLinear is a Perl module with non linear optimization routines. more>>
PDL::Opt::NonLinear is a Perl module with non linear optimization routines.

SYNOPSIS

use PDL::Opt::NonLinear;

$x = random(5);
$gx = rosen_grad($x);
$fx = rosen($x);

$xtol = pdl(1e-16);
$gtol = pdl(0.9);
$eps = pdl(1e-10);
$print = ones(2);
$maxit = pdl(long, 200);
$info = pdl(long,0);
sub fg_func{
my ($f, $g, $x) = @_;
$f .= rosen($x);
$g .= rosen_grad($x);
}
cgfam($fx, $gx, $x, $maxit, $eps, $xtol, $gtol,$print,$info,1,&fg_func);

<<less
Download (0.24MB)
Added: 2007-07-05 License: Perl Artistic License Price:
841 downloads
perlrebackslash 0.02

perlrebackslash 0.02


perlrebackslash is a module with Perl Regular Expression Backslash Sequences and Escapes. more>>
perlrebackslash is a module with Perl Regular Expression Backslash Sequences and Escapes.

The top level documentation about Perl regular expressions is found in perlre.
This document describes all backslash and escape sequences. After explaining the role of the backslash, it lists all the sequences that have a special meaning in Perl regular expressions (in alphabetical order), then describes each of them.

Most sequences are described in detail in different documents; the primary purpose of this document is to have a quick reference guide describing all backslash and escape sequences.

The backslash

In a regular expression, the backslash can perform one of two tasks: it either takes away the special meaning of the character following it (for instance, | matches a vertical bar, its not an alternation), or it is the start of a backslash or escape sequence.

The rules determining what it is are quite simple: if the character following the backslash is a punctuation (non-word) character (that is, anything that is not a letter, digit or underscore), then the backslash just takes away the special meaning (if any) of the character following it.

If the character following the backslash is a letter or a digit, then the sequence may be special; if so, its listed below. A few letters have not been used yet, and escaping them with a backslash is safe for now, but a future version of Perl may assign a special meaning to it. However, if you have warnings turned on, Perl will issue a warning if you use such a sequence.

It is however garanteed that backslash or escape sequences never have a punctuation character following the backslash, not now, and not in a future version of Perl 5. So it is safe to put a backslash in front of a non-word character.
Note that the backslash itself is special; if you want to match a backslash, you have to escape the backslash with a backslash: // matches a single backslash.

<<less
Download (14.3MB)
Added: 2007-07-02 License: Perl Artistic License Price:
844 downloads
B::Tree 0.02

B::Tree 0.02


B::Tree is a simplified version of B::Graph for demonstration. more>>
B::Tree is a simplified version of B::Graph for demonstration.

SYNOPSIS

perl -MO=Tree program | dot -Tps > tree.ps

This is a very cut-down version of B::Graph; it generates minimalist tree graphs of the op tree of a Perl program, merely connecting the op nodes and labelling each node with the type of op.

It was written as an example of how to write compiler modules for "Professional Perl", but Ive found it extremely useful for creating simple op tree graphs for use in presentations on Perl internals.

It requires the CPAN GraphViz module and the GraphViz package from http://www.research.att.com/sw/tools/graphviz/. It takes no options.

<<less
Download (0.002MB)
Added: 2007-06-26 License: Perl Artistic License Price:
856 downloads
B::LexInfo 0.02

B::LexInfo 0.02


B::LexInfo is a Perl module that shows information about subroutine lexical variables. more>>
B::LexInfo is a Perl module that shows information about subroutine lexical variables.

SYNOPSIS

use B::ShowLex ();
my $lexi = B::ShowLex->new;

Perl stores lexical variable names and values inside a padlist within the subroutine. Certain lexicals will maintain certain attributes after the the variable "goes out of scope". For example, when a scalar is assigned a string value, this value remains after the variable has gone out of scope, but is overridden the next time it is assigned to. Lexical Arrays and Hashes will retain their storage space for the maximum number of entries stored at any given point in time.

This module provides methods to record this information, which can be dumped out as-is or to compare two "snapshots". The information learned from these snapshots can be valuable in a number of ways.

METHODSM

new

Create a new B::LexInfo object:

my $lexi = B::LexInfo->new;

cvlexinfo

Create a padlist snapshot from a single subroutine:

my $info = $lexi->cvlexinfo(Foo::bar);

stash_cvlexinfo

Create a list of padlist snapshots for each subroutine in the given package:

my $info = $lexi->stash_cvlexinfo(Foo);

dumper

Return a reference to a stringified padlist snapshot:

print ${ $lexi->dumper($info) }

diff

Compare two padlist snapshots and return the difference:

my $before = $lexi->stash_cvlexinfo(__PACKAGE__);
... let some code run
my $after = $lexi->stash_cvlexinfo(__PACKAGE__);

my $diff = B::LexInfo->diff($before, $after);
print $$diff;

NOTE: This function relies on the diff -u command. You might need to configure $B::LexInfo::TmpDir and/or $B::LexInfo::DiffCmd to values other than the defaults in LexInfo.pm.

cvrundiff

Take a padlist snapshot of a subroutine, run the subroutine with the given arguments, take another snapshot and return a diff of the snapshots.

my $diff = $lexi->cvrundiff(Foo::bar, "arg1", $arg2);
print $$diff;

Complete example:

package Foo;
use B::LexInfo ();

sub bar {
my($string) = @_;
}

my $lexi = B::LexInfo->new;
my $diff = $lexi->cvrundiff(Foo::bar, "a string");
print $$diff;

Produces:

--- /tmp/B_LexInfo_1848.before Mon Jun 28 19:48:41 1999
+++ /tmp/B_LexInfo_1848.after Mon Jun 28 19:48:41 1999
@@ -2,8 +2,10 @@
{
Foo::bar => {
$string => {
- TYPE => NULL,
- NULL => 0x80efd58
+ TYPE => PV,
+ LEN => 9,
+ PV => a string,
+ CUR => 8
},
__SPECIAL__1 => {
TYPE => NULL,

<<less
Download (0.005MB)
Added: 2007-06-26 License: Perl Artistic License Price:
850 downloads
B::OptreeShortestPath 0.02

B::OptreeShortestPath 0.02


B::OptreeShortestPath adds the methods ->shortest_path( $op ) and ->all_paths() to all B::OP objects in an optree. more>>
B::OptreeShortestPath is a Perl module that adds the methods ->shortest_path( $op ) and ->all_paths() to all B::OP objects in an optree.

SYNOPSIS

use B qw( main_root main_start );
use B::OptreeShortestPath;

for ( main_start()->shortest_path( main_root() ) ) {
print "$_n";
}

METHODS

$op->shortest_path( $other_op )

Returns a list of the shortest paths from $op to $other_op. Each path is a string approximating a bunch of chained method calls.

"->next->sibling->next",
"->sibling->sibling->next"
$op->all_paths()

Returns a list of paths from this node to all other nodes.

<<less
Download (0.004MB)
Added: 2007-06-25 License: Perl Artistic License Price:
851 downloads
AEAE 0.02

AEAE 0.02


AEAE project is the Ajax Enhanced Asynchroneous Experience. more>>
AEAE project is the Ajax Enhanced Asynchroneous Experience.

USAGE:

To use AEAE, you only got two things to write:

The actual server task to do.

For this just make a class that inherits from AEAE::Command, and simply implement the _doIt() method.

See the AEAE::ComandExample :

(extract):
sub _doItReal{
my $self = shift ;
my $mustDie = shift ;
my $i = 0 ;

print "Let us start !n";
local $| = 1 ;
while( $i < 101){

$AEAE::Command::processCommand->oneStep($i);
print STDERR "We are here:".$i."n";
print STDOUT "Step ".$i."n";
$i += 5 ;
sleep(1);
if( ( $i > 70 ) && $mustDie){ confess( "An horrible error" );}
}
print "Now its over!n";
}

See AEAE::Command for full doc and AEAE::CommandExample for full example!

The importants things are:

- All you need to do is to implement your task just as if would be a regular one. Dont worry about synchroneous issues.
- All you write on STDOUT and STDERR will be visible to the final user, so dont be too wordy.
- If you die or confess, the error message will be visible to the user, so be clear!
- You got to use the $AEAE::Command::processCommand->oneStep( ); to gives information to the user on how much your task is complete. If number >= 100, your task will be considered as complete (thus eliminated) by the system, so give number between 1 and 99 !

The CGI that generates the interface.

Once your command is written, you got to write the cgi that will generate your web interface. For that, you will use the AEAE::AsyncCGIPage module.

Just a simple example:

#! /usr/bin/perl -w

use AEAE::AsyncCGIPage ;

use strict ;

use CGI ;

my $c = new CGI ;

my $page = AEAE::AsyncCGIPage->new($c,1);
$page->command(AEAE::CommandExample);
$page->arguments([0]);
$page->debug(1);
print $page->generateAjaxedHTML();

This CGI generates an ajaxed page that will control the AEAE::CommandExample and will give it the argument 0 .

The debug(1) makes ajax call appears in the page.

See AEAE::AsyncCGIPage for full documentation about all features.

<<less
Download (0.010MB)
Added: 2007-06-22 License: Perl Artistic License Price:
854 downloads
PerlActor 0.02

PerlActor 0.02


PerlActor is a simple automated executable acceptance test framework for Perl. more>>
PerlActor is a simple automated executable acceptance test framework for Perl.

PerlActor is a simple automated executable acceptance test framework for Perl. It can be used by Extreme Programming (XP) teams to rapidly develop executable acceptance tests for their Perl code.

XP mandates that the Customer writes acceptance tests for the application under development. The acceptance tests, also known as customer tests, demonstrate that application features are complete and that they work as expected. Ideally, the tests should be directly executable and automated so that they can be run continuously, without manual effort.

PerlActor enables an XP Customer to write *executable* acceptance tests as plain text files, using a very simple syntax. Each test consists of a number of parameterized commands (one per line), which PerlActor uses to exercise the application. PerlActor parses the test, invokes the commands with any parameters, and reports the result. The developers provide glue code to implement the commands required by the tests.

PerlActor allows tests to be grouped into suites so that related tests can be run as a group. The Customer can also just place test scripts in a directory structure and have PerlActor find and execute them all.

The PerlActor approach to acceptance testing has a number of advantages:

1) As the application grows the team will gradually develop a comprehensive set of Commands for testing the application.
2) The Customer, independent of the development team, can write and execute new tests for the application at any time, using any of the existing Commands.
3) Existing tests may be changed by the Customer at any time, again without developer help.

EXAMPLE SCRIPT

The following sample test script is adapted from one of the example scripts contained in the examples/calculator directory of this distribution. It tests a toy calculator "application":

# Script to check addition
# 10 + 32 = 42

# Create a new calculator application
NewCalculator

# Ensure that the display reads 0, initially
CheckDisplayReads 0

# Press key 1, then key 0
PressKeys 1 0
CheckDisplayReads 10

PressKeys +
CheckDisplayReads 10

PressKeys 3 2
CheckDisplayReads 32

PressKeys =
CheckDisplayReads 42

The following is sample output from the included test runner:

Running Acceptance Tests at Sun Apr 10 17:59:11 GMT 2005
==========================================================
.....
0.545077 wallclock secs ( 0.42 usr + 0.11 sys = 0.53 CPU)
Run: 5, Passed: 5, Failed: 0, Aborted: 0.
and with test failure:
Running Acceptance Tests at Sun Apr 10 18:04:36 GMT 2005
==========================================================
.F...
1.24811 wallclock secs ( 0.47 usr + 0.07 sys = 0.54 CPU)
Run: 5, Passed: 4, Failed: 1, Aborted: 0.

!!!FAILED!!!

1) FAILED: Display is wrong: expected 41, got 42 in scripts/test_addition.pact
at CheckDisplayReads 41, line 37

<<less
Download (0.013MB)
Added: 2007-06-22 License: Perl Artistic License Price:
854 downloads
Streamnik Server 0.02

Streamnik Server 0.02


Streamnik Server project is an IPTV server based on the open codecs Ogg/Vorbis and Ogg/Theora. more>>
Streamnik Server project is an IPTV server based on the open codecs Ogg/Vorbis and Ogg/Theora. It can stream a number of different channels and is optimized to run on leased (virtual) servers. The program schedule is defined by an SQL database table and can be changed at runtime.

<<less
Download (0.12MB)
Added: 2007-06-15 License: GPL (GNU General Public License) Price:
872 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5