human 0.07
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 508
Number::Bytes::Human 0.07
Number::Bytes::Human is a Perl module that can convert byte count to human readable format. more>>
Number::Bytes::Human is a Perl module that can convert byte count to human readable format.
SYNOPSIS
use Number::Bytes::Human qw(format_bytes);
$size = format_bytes(0); # 0
$size = format_bytes(2*1024); # 2.0K
$size = format_bytes(1_234_890, bs => 1000); # 1.3M
$size = format_bytes(1E9, bs => 1000); # 1.0G
# the OO way
$human = Number::Bytes::Human->new(bs => 1000, si => 1);
$size = $human->format(1E7); # 10MB
$human->set_options(zero => -);
$size = $human->format(0); # -
THIS IS ALPHA SOFTWARE: THE DOCUMENTATION AND THE CODE WILL SUFFER CHANGES SOME DAY (THANKS, GOD!).
This module provides a formatter which turns byte counts to usual readable format, like 2.0K, 3.1G, 100B. It was inspired in the -h option of Unix utilities like du, df and ls for "human-readable" output.
From the FreeBSD man page of df: http://www.freebsd.org/cgi/man.cgi?query=df
"Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to four or fewer using base 2 for sizes.
byte B
kilobyte K = 2**10 B = 1024 B
megabyte M = 2**20 B = 1024 * 1024 B
gigabyte G = 2**30 B = 1024 * 1024 * 1024 B
terabyte T = 2**40 B = 1024 * 1024 * 1024 * 1024 B
petabyte P = 2**50 B = 1024 * 1024 * 1024 * 1024 * 1024 B
exabyte E = 2**60 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
zettabyte Z = 2**70 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
yottabyte Y = 2**80 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
I have found this link to be quite useful:
http://www.t1shopper.com/tools/calculate/
If you feel like a hard-drive manufacturer, you can start counting bytes by powers of 1000 (instead of the generous 1024). Just use bs => 1000.
But if you are a floppy disk manufacturer and want to start counting in units of 1024000 (for your "1.44 MB" disks)? Then use bs => 1_024_000.
If you feel like a purist academic, you can force the use of metric prefixes according to the Dec 1998 standard by the IEC. Never mind the units for base 1000 are (B, kB, MB, GB, TB, PB, EB, ZB, YB) and, even worse, the ones for base 1024 are (B, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB) with the horrible names: bytes, kibibytes, mebibytes, etc. All you have to do is to use si => 1. Aint that beautiful the SI system? Read about it:
http://physics.nist.gov/cuu/Units/binary.html
You can try a pure Perl "ls -lh"-inspired command with the one-liner, er, two-liner:
$ perl -MNumber::Bytes::Human=format_bytes
-e printf "%5s %sn", format_bytes(-s), $_ for @ARGV *
Why to write such a module? Because if people can write such things in C, it can be written much easier in Perl and then reused, refactored, abused. And then, when it is much improved, some brave soul can port it back to C (if only for the warm feeling of painful programming).
<<lessSYNOPSIS
use Number::Bytes::Human qw(format_bytes);
$size = format_bytes(0); # 0
$size = format_bytes(2*1024); # 2.0K
$size = format_bytes(1_234_890, bs => 1000); # 1.3M
$size = format_bytes(1E9, bs => 1000); # 1.0G
# the OO way
$human = Number::Bytes::Human->new(bs => 1000, si => 1);
$size = $human->format(1E7); # 10MB
$human->set_options(zero => -);
$size = $human->format(0); # -
THIS IS ALPHA SOFTWARE: THE DOCUMENTATION AND THE CODE WILL SUFFER CHANGES SOME DAY (THANKS, GOD!).
This module provides a formatter which turns byte counts to usual readable format, like 2.0K, 3.1G, 100B. It was inspired in the -h option of Unix utilities like du, df and ls for "human-readable" output.
From the FreeBSD man page of df: http://www.freebsd.org/cgi/man.cgi?query=df
"Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to four or fewer using base 2 for sizes.
byte B
kilobyte K = 2**10 B = 1024 B
megabyte M = 2**20 B = 1024 * 1024 B
gigabyte G = 2**30 B = 1024 * 1024 * 1024 B
terabyte T = 2**40 B = 1024 * 1024 * 1024 * 1024 B
petabyte P = 2**50 B = 1024 * 1024 * 1024 * 1024 * 1024 B
exabyte E = 2**60 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
zettabyte Z = 2**70 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
yottabyte Y = 2**80 B = 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024 B
I have found this link to be quite useful:
http://www.t1shopper.com/tools/calculate/
If you feel like a hard-drive manufacturer, you can start counting bytes by powers of 1000 (instead of the generous 1024). Just use bs => 1000.
But if you are a floppy disk manufacturer and want to start counting in units of 1024000 (for your "1.44 MB" disks)? Then use bs => 1_024_000.
If you feel like a purist academic, you can force the use of metric prefixes according to the Dec 1998 standard by the IEC. Never mind the units for base 1000 are (B, kB, MB, GB, TB, PB, EB, ZB, YB) and, even worse, the ones for base 1024 are (B, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB) with the horrible names: bytes, kibibytes, mebibytes, etc. All you have to do is to use si => 1. Aint that beautiful the SI system? Read about it:
http://physics.nist.gov/cuu/Units/binary.html
You can try a pure Perl "ls -lh"-inspired command with the one-liner, er, two-liner:
$ perl -MNumber::Bytes::Human=format_bytes
-e printf "%5s %sn", format_bytes(-s), $_ for @ARGV *
Why to write such a module? Because if people can write such things in C, it can be written much easier in Perl and then reused, refactored, abused. And then, when it is much improved, some brave soul can port it back to C (if only for the warm feeling of painful programming).
Download (0.009MB)
Added: 2007-07-03 License: Perl Artistic License Price:
844 downloads
Taint 0.07
Taint is a Perl extension to taint variables. more>>
Taint is a Perl extension to taint variables.
SYNOPSIS
use Taint;
taint($taintvar[, $anothervar[, $yetmorevars]]);
$bool = tainted($vartocheck);
taint() marks its arguments as tainted.
tainted() returns true if its argument is tainted, false otherwise
DIAGNOSTICS
Attempt to taint read-only value
You attempted to taint something untaintable, such as a constant or expression. taint() only takes lvalues for arguments
Attempt to taint an array
A reference to an array was passed to taint. You can only taint individual array items, not array itself.
Attempt to taint a hash
A reference to a hash was passed to taint. You can only taint individual hash items, not the entire hash.
Attempt to taint code
You passed a coderef to taint. You cant do that.
Attempt to taint a typeglob
You passed a typeglob to taint. taint only taints scalars, and a typeglob isnt one.
Attempt to taint a reference
You tried to taint a reference, which you just cant do.
Attempt to taint something unknown or undef
You tried tainting either a variable set to undef, or your version of perl has more types of variables than mine did when this module was written. Odds are, youre trying to taint a variable with an undef value like, for example, one that has been created (either explicitly or implicitly) but not had a value assigned.
Doing this:
my $foo;
taint($foo);
will trigger this error.
<<lessSYNOPSIS
use Taint;
taint($taintvar[, $anothervar[, $yetmorevars]]);
$bool = tainted($vartocheck);
taint() marks its arguments as tainted.
tainted() returns true if its argument is tainted, false otherwise
DIAGNOSTICS
Attempt to taint read-only value
You attempted to taint something untaintable, such as a constant or expression. taint() only takes lvalues for arguments
Attempt to taint an array
A reference to an array was passed to taint. You can only taint individual array items, not array itself.
Attempt to taint a hash
A reference to a hash was passed to taint. You can only taint individual hash items, not the entire hash.
Attempt to taint code
You passed a coderef to taint. You cant do that.
Attempt to taint a typeglob
You passed a typeglob to taint. taint only taints scalars, and a typeglob isnt one.
Attempt to taint a reference
You tried to taint a reference, which you just cant do.
Attempt to taint something unknown or undef
You tried tainting either a variable set to undef, or your version of perl has more types of variables than mine did when this module was written. Odds are, youre trying to taint a variable with an undef value like, for example, one that has been created (either explicitly or implicitly) but not had a value assigned.
Doing this:
my $foo;
taint($foo);
will trigger this error.
Download (0.004MB)
Added: 2007-05-14 License: Perl Artistic License Price:
893 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
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
Are You Human? 0.1
Are You Human? is a script that uses a graphical test to insure that a human is being dealt with rather than a script. more>>
Are You Human? is a script that uses a graphical test to insure that a human is being dealt with rather than a script.
This is useful to avoid automated Web signups or automated attempts to crack passwords.
There are many equivalent libraries for other languages but this is the first one for Python. The Python Imaging Library (PIL) is required.
<<lessThis is useful to avoid automated Web signups or automated attempts to crack passwords.
There are many equivalent libraries for other languages but this is the first one for Python. The Python Imaging Library (PIL) is required.
Download (0.009MB)
Added: 2006-10-04 License: GPL (GNU General Public License) Price:
1115 downloads
UML::Sequence 0.07
UML::Sequence is a Perl module to render UML sequence diagrams, often by running the code. more>>
UML::Sequence is a Perl module to render UML sequence diagrams, often by running the code.
SYNOPSIS
use UML::Sequence;
my $tree = UML::Sequence->new(@methods, @outline, &parse_method);
print $tree->build_xml_sequence(Title);
To use this package, or see how to use it, see genericseq.pl and seq2svg.pl.
This class helps produce UML sequence diagrams. build_xml_sequence returns a string (suitable for printing to a file) which the seq2svg.pl script converts into svg.
To control the appearance of the sequence diagram, pass to the constructor:
1 a reference to an array containing the signatures you want to hear about or a reference to a hash whose keys are the signatures you want 2 a reference to an array containing the lines in the outline of calls 3 a reference to a sub which takes signatures and returns class and method names
To build the array references and supply the code reference consult UML::Sequence::SimpleSeq, UML::Sequence::JavaSeq, or UML::Sequence::PerlSeq. To see one way to call these look in the supplied genericseq script.
<<lessSYNOPSIS
use UML::Sequence;
my $tree = UML::Sequence->new(@methods, @outline, &parse_method);
print $tree->build_xml_sequence(Title);
To use this package, or see how to use it, see genericseq.pl and seq2svg.pl.
This class helps produce UML sequence diagrams. build_xml_sequence returns a string (suitable for printing to a file) which the seq2svg.pl script converts into svg.
To control the appearance of the sequence diagram, pass to the constructor:
1 a reference to an array containing the signatures you want to hear about or a reference to a hash whose keys are the signatures you want 2 a reference to an array containing the lines in the outline of calls 3 a reference to a sub which takes signatures and returns class and method names
To build the array references and supply the code reference consult UML::Sequence::SimpleSeq, UML::Sequence::JavaSeq, or UML::Sequence::PerlSeq. To see one way to call these look in the supplied genericseq script.
Download (0.12MB)
Added: 2007-04-23 License: Perl Artistic License Price:
916 downloads
Jaffer 0.07
Jaffer project is a Java implementation of Appletalk File Protocol v3.1 using TCP Transport. more>>
Jaffer project is a Java implementation of Appletalk File Protocol v3.1 using TCP Transport. Performance on a Gigabit network exceeds both Samba and Netatalk. No, Really. Disable debugging.
Quick start:
This program will act like a native Appletalk file server. You must run it as root to use Appletalks normal port 548. But its just as happy running on any unpriviledged port. To access shadow passwords, the server must be run as root.
Your client must be a Mac OS X 10.2 or newer system.
Download a recent build and source code.
Or browse the source in svn.
Run the server:
java -jar jaffer.jar -config [config-file]
or, alternatively, for quick testing:
java -jar jaffer.jar -server [port] [volume-name] [path-to-export]
From the OS X Client, mount the new volume:
mount_afp afp://[user]:[pass]@[host]:[port]/[volume-name] [mount-point]
The [user]:[pass]@ part of the url is optional. If omitted, the mount will be attempted as a Guest user.
Developers:
Most of your work will most likely be done in the AFP_Session class implementing additional AFP calls. When you do this, please be mindful of comments in the code. They are sparse, but very important. When you add call implementations, please make sure they are represented in the AFP_Constants file and annotated with the page number in the AFP3.1 reference PDF.
Most of the implementation is geared towards AFP3.1 which means that some of the helper and common methods are not usable for AFP2.3 or earlier protocols.
Enhancements:
- added zipfs, refactoring for jdk1.5
<<lessQuick start:
This program will act like a native Appletalk file server. You must run it as root to use Appletalks normal port 548. But its just as happy running on any unpriviledged port. To access shadow passwords, the server must be run as root.
Your client must be a Mac OS X 10.2 or newer system.
Download a recent build and source code.
Or browse the source in svn.
Run the server:
java -jar jaffer.jar -config [config-file]
or, alternatively, for quick testing:
java -jar jaffer.jar -server [port] [volume-name] [path-to-export]
From the OS X Client, mount the new volume:
mount_afp afp://[user]:[pass]@[host]:[port]/[volume-name] [mount-point]
The [user]:[pass]@ part of the url is optional. If omitted, the mount will be attempted as a Guest user.
Developers:
Most of your work will most likely be done in the AFP_Session class implementing additional AFP calls. When you do this, please be mindful of comments in the code. They are sparse, but very important. When you add call implementations, please make sure they are represented in the AFP_Constants file and annotated with the page number in the AFP3.1 reference PDF.
Most of the implementation is geared towards AFP3.1 which means that some of the helper and common methods are not usable for AFP2.3 or earlier protocols.
Enhancements:
- added zipfs, refactoring for jdk1.5
Download (0.13MB)
Added: 2007-05-29 License: BSD License Price:
879 downloads
HTML::Manipulator 0.07
HTML::Manipulator is a Perl extension for manipulating HTML files. more>>
HTML::Manipulator is a Perl extension for manipulating HTML files.
SYNOPSIS
use HTML::Manipulator;
my $html = {
_content => Slashdot,
href=>http://www.slashdot.org/ }
);
# extract a tag content
my $content = HTML::Manipulator::extract_content($html, link);
# extract a tag content and attributes
my $tag = HTML::Manipulator::extract($html, link);
# returns a hash ref like
# { href => http://www.google.com, id => link, _content => Google }
This module manipulates of the contents of HTML files. It can query and replace the content or attributes of any HTML tag.
The advertised usage pattern is to update static HTML files.
<<lessSYNOPSIS
use HTML::Manipulator;
my $html = {
_content => Slashdot,
href=>http://www.slashdot.org/ }
);
# extract a tag content
my $content = HTML::Manipulator::extract_content($html, link);
# extract a tag content and attributes
my $tag = HTML::Manipulator::extract($html, link);
# returns a hash ref like
# { href => http://www.google.com, id => link, _content => Google }
This module manipulates of the contents of HTML files. It can query and replace the content or attributes of any HTML tag.
The advertised usage pattern is to update static HTML files.
Download (0.012MB)
Added: 2006-12-05 License: Perl Artistic License Price:
1054 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
KBBTray 0.07
KBBTray is a KDE task bar tray applicaton that monitors a Big Brother page and shows its status. more>>
KBBTray is a KDE task bar tray applicaton that monitors a Big Brother page and shows its status.
You need Python, PyQt, and PyKDE.
After you have the required libs installed
To install be root and run:
sh install.sh
yes I need a better install method
To run the application as any user do:
/usr/local/bin/kbbtray.py
If /usr/local/bin is in your path then just
kbbtray.py
will work
Enhancements:
- This release uses PNG instead of animated MNG files for certain types of status because of a memory leak somewhere in PyQt, QMovie, and libmng.
<<lessYou need Python, PyQt, and PyKDE.
After you have the required libs installed
To install be root and run:
sh install.sh
yes I need a better install method
To run the application as any user do:
/usr/local/bin/kbbtray.py
If /usr/local/bin is in your path then just
kbbtray.py
will work
Enhancements:
- This release uses PNG instead of animated MNG files for certain types of status because of a memory leak somewhere in PyQt, QMovie, and libmng.
Download (0.17MB)
Added: 2005-11-09 License: GPL (GNU General Public License) Price:
1444 downloads
XML::QL 0.07
XML::QL is an XML query language. more>>
XML::QL is an XML query language.
SYNOPSIS
$ql = WHERE $head ORDER-BY $head IN "file:REC-xml-19980210.xml" CONSTRUCT $head;
print XML::QL->query($sql);
This module is an early implementation of a note published by the W3C called "XML-QL: A Query Language for XML". XML-QL allows the user to query an XML document much like a database, and describe a construct for output. Currently this module only offers partial functionality as described in the specification, and even some of that has been changed for ease of use. This documentation will describe the fuctionality of this module as well as differences from the XML-QL specification.
METHODS
query( "query" )
This is the only method required to use this module. This one method allows the user to pass a valid XML-QL query to the module, and the return value is the output.
<<lessSYNOPSIS
$ql = WHERE $head ORDER-BY $head IN "file:REC-xml-19980210.xml" CONSTRUCT $head;
print XML::QL->query($sql);
This module is an early implementation of a note published by the W3C called "XML-QL: A Query Language for XML". XML-QL allows the user to query an XML document much like a database, and describe a construct for output. Currently this module only offers partial functionality as described in the specification, and even some of that has been changed for ease of use. This documentation will describe the fuctionality of this module as well as differences from the XML-QL specification.
METHODS
query( "query" )
This is the only method required to use this module. This one method allows the user to pass a valid XML-QL query to the module, and the return value is the output.
Download (0.008MB)
Added: 2006-10-25 License: GPL (GNU General Public License) Price:
1097 downloads
Test::Usage 0.07
Test::Usage is a different approach to testing: selective, quieter, colorful. more>>
Test::Usage is a different approach to testing: selective, quieter, colorful.
SYNOPSIS
Lets say we are building module Foo.pm. To exercise it, we write a usage examples module, Foo_T.pm, which may eventually look something like this:
package Foo_T;
use Test::Usage;
use strict;
use warnings;
use Foo;
example(e1, sub { ... ok(...); ... die "Uh oh"; ... });
example(a1, sub { ... ok(...) or diag(...); ... });
example(a2, sub { ... ok(...); ... });
example(a3, sub {
my $f = Foo->new();
my $got_foo = $f->foo();
my $exp_foo = FOO;
ok(
$got_foo eq $exp_foo,
"Expecting foo() to return $exp_foo.",
"But got $got_foo."
);
});
Here are a few ways to test its examples:
# Run example a3 only.
perl -MFoo_T -e test(a => "a3")
# Run all examples whose label matches glob a*: a1, a2, a3.
perl -MFoo_T -e test(a => "a*")
# Run all examples found in the test module.
perl -MFoo_T -e test
# Run example a3, reporting successes also, but without color.
perl -MFoo_T -e test(a => "a3", v => 2, c => 0)
# Run and summarize all examples in all "*_T.pm" files found under
# current directory.
perl -MTest::Usage -e files
<<lessSYNOPSIS
Lets say we are building module Foo.pm. To exercise it, we write a usage examples module, Foo_T.pm, which may eventually look something like this:
package Foo_T;
use Test::Usage;
use strict;
use warnings;
use Foo;
example(e1, sub { ... ok(...); ... die "Uh oh"; ... });
example(a1, sub { ... ok(...) or diag(...); ... });
example(a2, sub { ... ok(...); ... });
example(a3, sub {
my $f = Foo->new();
my $got_foo = $f->foo();
my $exp_foo = FOO;
ok(
$got_foo eq $exp_foo,
"Expecting foo() to return $exp_foo.",
"But got $got_foo."
);
});
Here are a few ways to test its examples:
# Run example a3 only.
perl -MFoo_T -e test(a => "a3")
# Run all examples whose label matches glob a*: a1, a2, a3.
perl -MFoo_T -e test(a => "a*")
# Run all examples found in the test module.
perl -MFoo_T -e test
# Run example a3, reporting successes also, but without color.
perl -MFoo_T -e test(a => "a3", v => 2, c => 0)
# Run and summarize all examples in all "*_T.pm" files found under
# current directory.
perl -MTest::Usage -e files
Download (0.016MB)
Added: 2006-10-24 License: Perl Artistic License Price:
1096 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
Boost Channel 0.07.1
Boost Channel is a C++ template framework for distributed message passing and event dispatching. more>>
Boost Channel is a C++ template framework for distributed message passing and event dispatching. Its major components (message IDs, routing algorithms...) are highly configurable as template parameters.
As a namespace shared by peer threads, channels support publish/subscribe scope control, message filtering, and translation.
Enhancements:
- Jamfile.v2 was added for building the channel library and examples (the current boost CVS build system was changed so Jamfile.v2 is required).
- However, there are issues with building samples using Jamfile.v2 with WindowsXP and VC++.
- Windows users should use the existing Jamfile (v1).
- This may involve replacing the boost/tools/build/v1 directory with the content from an older boost release or CVS checkout (such as 12/10/2006).
<<lessAs a namespace shared by peer threads, channels support publish/subscribe scope control, message filtering, and translation.
Enhancements:
- Jamfile.v2 was added for building the channel library and examples (the current boost CVS build system was changed so Jamfile.v2 is required).
- However, there are issues with building samples using Jamfile.v2 with WindowsXP and VC++.
- Windows users should use the existing Jamfile (v1).
- This may involve replacing the boost/tools/build/v1 directory with the content from an older boost release or CVS checkout (such as 12/10/2006).
Download (0.087MB)
Added: 2007-01-26 License: MIT/X Consortium License Price:
1003 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
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 human 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