openquicktime 1.02
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 110
Video::OpenQuicktime 1.02
Video::OpenQuicktime is an interface to the OpenQuicktime library. more>>
Video::OpenQuicktime is an interface to the OpenQuicktime library.
SYNOPSIS
use Video::OpenQuicktime;
my $qt = Video::OpenQuicktime->new(file=>"sample.mov");
$qt->get_video_height;
$qt->get_audio_compression;
$qt->get_audio_samplerate;
From the OpenQuicktime site, http://www.openquicktime.org:
"OpenQuicktime aims to be a portable library for handling Apples QuickTime(TM) popular media files on Unix-like environments. It is aim is to provide encoding, authoring and editing support as well as video playback."
OpenQuicktime is currently able to decode as well as encode video and audio streams. The Video::OpenQuicktime library currently only supports extracting diagnostic information from Quicktime files, such as video dimensions, codecs used, and play length.
I would like to add support for video and audio demux at some point, but dont have the time to develop it right now. Given sufficient user interest or free time, Ill do it. Patches are also welcome in case anyone else wants to help me out, see the contact information below.
<<lessSYNOPSIS
use Video::OpenQuicktime;
my $qt = Video::OpenQuicktime->new(file=>"sample.mov");
$qt->get_video_height;
$qt->get_audio_compression;
$qt->get_audio_samplerate;
From the OpenQuicktime site, http://www.openquicktime.org:
"OpenQuicktime aims to be a portable library for handling Apples QuickTime(TM) popular media files on Unix-like environments. It is aim is to provide encoding, authoring and editing support as well as video playback."
OpenQuicktime is currently able to decode as well as encode video and audio streams. The Video::OpenQuicktime library currently only supports extracting diagnostic information from Quicktime files, such as video dimensions, codecs used, and play length.
I would like to add support for video and audio demux at some point, but dont have the time to develop it right now. Given sufficient user interest or free time, Ill do it. Patches are also welcome in case anyone else wants to help me out, see the contact information below.
Download (0.097MB)
Added: 2006-07-21 License: Perl Artistic License Price:
1197 downloads
openquicktime 2.0a1
OpenQuicktime aims to be a portable library for handling Apple?s QuickTime? popular media files on Unix-like environments. more>> <<less
Download (0.71MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
1200 downloads
Rocket 1.02
Rocket is a game where you try to land a rocket on a moving platform. more>>
Rocket project is a game where you try to land a rocket on a moving platform.
Running Rocket:
- Unzip the archive into its own directory.
- cd to the directory.
# perl rocket.pl
You fly the rocket with the left, right, and down keys.
Other keys:
<<lessRunning Rocket:
- Unzip the archive into its own directory.
- cd to the directory.
# perl rocket.pl
You fly the rocket with the left, right, and down keys.
Other keys:
- pause
- exit
- new game
- God mode?
Download (0.043MB)
Added: 2006-12-11 License: Perl Artistic License Price:
1052 downloads
PCL::Simple 1.02
PCL::Simple is a Perl module to create PCL for printing plain text files. more>>
PCL::Simple is a Perl module to create PCL for printing plain text files.
SYNOPSIS
use PCL::Simple qw( PCL_pre PCL_post );
open PLAIN, ready_for_printing.txt or die;
print SNAZZY PCL_pre( -w => 132, -lpp => 66 );
print SNAZZY while ( );
print SNAZZY PCL_post;
close PLAIN;
close SNAZZY;
PCL::Simple will provide PCL strings that cause your printer to print a plain text file with *exactly* the right font -- i.e. the exact font needed to fill the page with as many fixed width characters across and down as you specify.
In addition to providing for your desired width and height layout, the provided PCL strings will also cause the printer to honor your other desires regarding paper size, paper orientation, sides printed, and number of copies.
USAGE
Two functions are exportable: PCL_pre and PCL_post.
PCL_post takes no parameters, it simply returns a string containing the "Printer Reset Command" and "Universal Exit Language Command" as specified by PCL documentation. This string is meant for appending to the end of your plain text document.
PCL_pre takes a list or an href of key value pairs and returns a PCL string for insertion at the beginning of your plain text document. PCL_pre Paramaters are:
-w
Width (Required)
-lpp
Lines Per Page (Required)
-ms
Media Size defaults to letter. Valid values are: executive, letter, legal, ledger, a4, a3, monarch, com-10, d1, c5, b5
-msrc
Media Source is not set by default. Valid values are: numbers from 0 to 69. Generally refers to paper trays or feeders. See your printer documentation for details.
-o
Orientation defaults to portrait. Valid values are: landscape, portrait.
-s
Sides defaults to 0. Valid values are: 0 (Single), 1 (Double Long), 2 (Double Short)
-c
Copies defaults to 1.
<<lessSYNOPSIS
use PCL::Simple qw( PCL_pre PCL_post );
open PLAIN, ready_for_printing.txt or die;
print SNAZZY PCL_pre( -w => 132, -lpp => 66 );
print SNAZZY while ( );
print SNAZZY PCL_post;
close PLAIN;
close SNAZZY;
PCL::Simple will provide PCL strings that cause your printer to print a plain text file with *exactly* the right font -- i.e. the exact font needed to fill the page with as many fixed width characters across and down as you specify.
In addition to providing for your desired width and height layout, the provided PCL strings will also cause the printer to honor your other desires regarding paper size, paper orientation, sides printed, and number of copies.
USAGE
Two functions are exportable: PCL_pre and PCL_post.
PCL_post takes no parameters, it simply returns a string containing the "Printer Reset Command" and "Universal Exit Language Command" as specified by PCL documentation. This string is meant for appending to the end of your plain text document.
PCL_pre takes a list or an href of key value pairs and returns a PCL string for insertion at the beginning of your plain text document. PCL_pre Paramaters are:
-w
Width (Required)
-lpp
Lines Per Page (Required)
-ms
Media Size defaults to letter. Valid values are: executive, letter, legal, ledger, a4, a3, monarch, com-10, d1, c5, b5
-msrc
Media Source is not set by default. Valid values are: numbers from 0 to 69. Generally refers to paper trays or feeders. See your printer documentation for details.
-o
Orientation defaults to portrait. Valid values are: landscape, portrait.
-s
Sides defaults to 0. Valid values are: 0 (Single), 1 (Double Long), 2 (Double Short)
-c
Copies defaults to 1.
Download (0.005MB)
Added: 2007-04-03 License: Perl Artistic License Price:
565 downloads
Peptide::Pubmed 1.02
Peptide::Pubmed is a Perl module that can extract peptide sequences from MEDLINE article abstracts. more>>
Peptide::Pubmed is a Perl module that can extract peptide sequences from MEDLINE article abstracts.
SYNOPSIS
use Peptide::Pubmed;
$parser = Peptide::Pubmed->new;
$in = {
PMID => q[15527327],
Author => q[Doe JJ, Smith Q],
Journal => q[J Biological Foo. 2004;8(2):123-30.],
Title => q[Foo, bar and its significance in phage display.],
Abstract =>
q[Peptide sequences EYHHYNK and Arg-Gly-Asp, but not ACCCGTNA or VEGFRI.],
Mesh => q[Genes, p53/genetics; Humans; Bar],
Chemical => q[Multienzyme Complexes; Peptide Library; Foo],
};
$parser->parse_abstract($in);
# get the peptide sequences in 1 letter symbols (select all words where the
# combined word/abstract score is above threshold:
# WordAbstScore >= WordAbstScoreMin):
@seqs = $parser->get_seqs;
print "@seqsn"; # prints: EYHHYNK RGD
EXAMPLES
# same as above, set threshold explicitly:
$parser->WordAbstScoreMin(0.4);
@seqs = $parser->get_seqs;
# set low threshold to get more peptide sequences (but at a cost of getting
# more false positives)
$parser->WordAbstScoreMin(-1);
@seqs = $parser->get_seqs;
print "@seqsn"; # prints: EYHHYNK RGD ACCCGTNA VEGFRI
# reset threshold back:
$parser->WordAbstScoreMin(0.4);
# get more data for the abstract:
$abst = $parser->get_abst;
print "$abst->{AbstScore}n"; # abstract score, in the [0,1] interval
print "$abst->{AbstMtext}n"; # abstract with sequences marked up:
# Peptide sequences EYHHYNK and Arg-Gly-Asp,
# but not ACCCGTNA or VEGFRI.
# get more data for the words, in addition to peptide sequences:
@words = $parser->get_words;
for my $word (@words) {
# combined word/abstract score, in the [0,1] interval
print "$word->{WordAbstScore}n";
# word as found in the abstract, eg Arg-Gly-Asp,
print "$word->{WordOrig}n";
# peptide sequence in 1 letter symbols, eg RGD
print "$word->{WordSequence}n";
}
# There are no mandatory input fields. This will work too, but may give lower score.
$in = {
Abstract =>
q[Peptide sequences EYHHYNK and Arg-Gly-Asp, but not ACCCGTNA or VEGFRI.],
};
$parser->parse_abstract($in);
@words = $parser->get_words;
# No peptide sequences are found in empty input:
$in = undef;
$parser->parse_abstract($in);
@words = $parser->get_words;
<<lessSYNOPSIS
use Peptide::Pubmed;
$parser = Peptide::Pubmed->new;
$in = {
PMID => q[15527327],
Author => q[Doe JJ, Smith Q],
Journal => q[J Biological Foo. 2004;8(2):123-30.],
Title => q[Foo, bar and its significance in phage display.],
Abstract =>
q[Peptide sequences EYHHYNK and Arg-Gly-Asp, but not ACCCGTNA or VEGFRI.],
Mesh => q[Genes, p53/genetics; Humans; Bar],
Chemical => q[Multienzyme Complexes; Peptide Library; Foo],
};
$parser->parse_abstract($in);
# get the peptide sequences in 1 letter symbols (select all words where the
# combined word/abstract score is above threshold:
# WordAbstScore >= WordAbstScoreMin):
@seqs = $parser->get_seqs;
print "@seqsn"; # prints: EYHHYNK RGD
EXAMPLES
# same as above, set threshold explicitly:
$parser->WordAbstScoreMin(0.4);
@seqs = $parser->get_seqs;
# set low threshold to get more peptide sequences (but at a cost of getting
# more false positives)
$parser->WordAbstScoreMin(-1);
@seqs = $parser->get_seqs;
print "@seqsn"; # prints: EYHHYNK RGD ACCCGTNA VEGFRI
# reset threshold back:
$parser->WordAbstScoreMin(0.4);
# get more data for the abstract:
$abst = $parser->get_abst;
print "$abst->{AbstScore}n"; # abstract score, in the [0,1] interval
print "$abst->{AbstMtext}n"; # abstract with sequences marked up:
# Peptide sequences EYHHYNK and Arg-Gly-Asp,
# but not ACCCGTNA or VEGFRI.
# get more data for the words, in addition to peptide sequences:
@words = $parser->get_words;
for my $word (@words) {
# combined word/abstract score, in the [0,1] interval
print "$word->{WordAbstScore}n";
# word as found in the abstract, eg Arg-Gly-Asp,
print "$word->{WordOrig}n";
# peptide sequence in 1 letter symbols, eg RGD
print "$word->{WordSequence}n";
}
# There are no mandatory input fields. This will work too, but may give lower score.
$in = {
Abstract =>
q[Peptide sequences EYHHYNK and Arg-Gly-Asp, but not ACCCGTNA or VEGFRI.],
};
$parser->parse_abstract($in);
@words = $parser->get_words;
# No peptide sequences are found in empty input:
$in = undef;
$parser->parse_abstract($in);
@words = $parser->get_words;
Download (0.35MB)
Added: 2007-08-01 License: Perl Artistic License Price:
814 downloads
openflash 1.02
openflash is an open source utility to (re)program flash BIOS chips. more>>
openflash is an open source utility to (re)program flash BIOS chips. Initial support will be for the i-opener network appliance under Qnx since there is an immediate need.
Usage: qnxflash [-r < file >] [-w < file >] [-v < file >] [-iadlcV]
-r Read bios image from chip.
-w Write bios image to chip.
-v Verify chip data against image file.
-i display bios chips device Id.
-a report All verify errors.
-d Disable verify while programming.
-l List supported devices.
-c disable device id Check.
-V Verbose messages
Enhancements:
- Modifications to correct failures to exit Device ID mode on V4 Iopeners using RISE CPU. This problem was reported as an erase failure in 1.01.
- Changed the method used to exit Device mode from the one step method to the three step.
- Added code to check that Device ID mode was exited successfully. If the first attempt fails an additional 9 attempts will be made before giving up.
- Corrected a bug in WaitFlashComplete() which prevented timeout errors from being detected.
- Doubled the loop count in WaitFlashComplete().
- Added the -V switch to enable verbose error and status messages.
- Added -c switch to allow Device ID checks to be disabled.
<<lessUsage: qnxflash [-r < file >] [-w < file >] [-v < file >] [-iadlcV]
-r Read bios image from chip.
-w Write bios image to chip.
-v Verify chip data against image file.
-i display bios chips device Id.
-a report All verify errors.
-d Disable verify while programming.
-l List supported devices.
-c disable device id Check.
-V Verbose messages
Enhancements:
- Modifications to correct failures to exit Device ID mode on V4 Iopeners using RISE CPU. This problem was reported as an erase failure in 1.01.
- Changed the method used to exit Device mode from the one step method to the three step.
- Added code to check that Device ID mode was exited successfully. If the first attempt fails an additional 9 attempts will be made before giving up.
- Corrected a bug in WaitFlashComplete() which prevented timeout errors from being detected.
- Doubled the loop count in WaitFlashComplete().
- Added the -V switch to enable verbose error and status messages.
- Added -c switch to allow Device ID checks to be disabled.
Download (0.029MB)
Added: 2007-06-18 License: GPL (GNU General Public License) Price:
862 downloads
Gentium fonts 1.02
Gentium is a typeface family designed to enable the diverse ethnic groups around the world. more>>
Gentium is a typeface family designed to enable the diverse ethnic groups around the world who use the Latin script to produce readable, high-quality publications.
Gentium fonts project supports a wide range of Latin-based alphabets and includes glyphs that correspond to all the Latin ranges of Unicode.
The design is intended to be highly readable, reasonably compact, and visually attractive. The additional "extended" Latin letters are designed to naturally harmonize with the traditional 26 ones. Diacritics are treated with careful thought and attention to their use.
Gentium also supports both ancient and modern Greek, including a number of alternate forms. These fonts were originally the product of two years of research and study by the designer at the University of Reading, England, as part of an MA program in Typeface Design.
SIL International has now embraced the Gentium project, and plans to continue development. Expansion of the glyph set to include more extended Latin glyphs, archaic Greek symbols, and full Cyrillic script support is the next step. Work on this has already begun, but the results will not be available for a few months. Addition of bold and bold italic faces will follow.
Gentium is freely available and may be used by anyone at no cost. It is now released under the SIL Open Font License, a free and open source license that permits modification and redistribution.
Our hope is that it will stimulate literature production and elevate extended Latin alphabets to greater parity with the basic Latin alphabet. We also hope it will encourage other type designers to appreciate and support those fascinating and beautiful extra letters.
<<lessGentium fonts project supports a wide range of Latin-based alphabets and includes glyphs that correspond to all the Latin ranges of Unicode.
The design is intended to be highly readable, reasonably compact, and visually attractive. The additional "extended" Latin letters are designed to naturally harmonize with the traditional 26 ones. Diacritics are treated with careful thought and attention to their use.
Gentium also supports both ancient and modern Greek, including a number of alternate forms. These fonts were originally the product of two years of research and study by the designer at the University of Reading, England, as part of an MA program in Typeface Design.
SIL International has now embraced the Gentium project, and plans to continue development. Expansion of the glyph set to include more extended Latin glyphs, archaic Greek symbols, and full Cyrillic script support is the next step. Work on this has already begun, but the results will not be available for a few months. Addition of bold and bold italic faces will follow.
Gentium is freely available and may be used by anyone at no cost. It is now released under the SIL Open Font License, a free and open source license that permits modification and redistribution.
Our hope is that it will stimulate literature production and elevate extended Latin alphabets to greater parity with the basic Latin alphabet. We also hope it will encourage other type designers to appreciate and support those fascinating and beautiful extra letters.
Download (2.2MB)
Added: 2005-12-28 License: Freely Distributable Price:
1401 downloads
NVTCom 1.02
NVTCom is a library to access using java RFC2217 devices. more>>
NVTCom is a library to access using java RFC2217 devices, the class hide all the overhead of the telnet protocol and the special options for setting the serial port.
In java is very difficult to access serial device with this library is possible connect serial device to one terminal server and access the device from the network. NVTCom package contains both binary and source code.
NVTCom as been tested with the following hardware/software terminal server :
- Kermit sredir 2.2.0
- Simet cross
- web51
- Jts
- ser2net
But I think work with any compatible RFC2217 terminal server because I use this class in one my project from many years.
<<lessIn java is very difficult to access serial device with this library is possible connect serial device to one terminal server and access the device from the network. NVTCom package contains both binary and source code.
NVTCom as been tested with the following hardware/software terminal server :
- Kermit sredir 2.2.0
- Simet cross
- web51
- Jts
- ser2net
But I think work with any compatible RFC2217 terminal server because I use this class in one my project from many years.
Download (0.066MB)
Added: 2006-04-27 License: GPL (GNU General Public License) Price:
1276 downloads
VoiceBuntu 1.02
VoiceBuntu (Ubunterisk) is an Ubuntu based live Linux distribution that uses Asterisk and VoiceOne to provide VoIP service. more>>
VoiceBuntu (Ubunterisk) is an Ubuntu based live Linux distribution that uses Asterisk and VoiceOne to provide VoIP service.
VoiceBuntus focus is to run asterisk with no installation needed. VoiceBuntu - ubuntu itself - has built in boot prompt cheap code one can use called persistent.
This feature allows the user to use VoiceBuntus persistent feature in order to keep settings on a flash disk or memory stick.
To start, just burn the ISO file on a CD-ROM then start the live cd distribution and wait until everything is ready.
Please note, that apache will start at the very last moment of the boot cycle. So you may a to wait 1 or 2 minutes to let everything load.
Once everything is prepared, start your browser and point to the IP address of your running VoiceBuntu (i.e. http://192.168.0.10).
If you have no DHCP Server available you can press F6 at boot screen and add additionally add the command parameter
static=xxx.xxx.xxx.xxx
netmask=xxx.xxx.xxx.xxx
bcast=xxx.xxx.xxx.xxx
gateway=xxx.xxx.xxx.xxx
dns1=xxx.xxx.xxx.xxx
dns2=xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP of your choice.
By that VoiceBuntu boots with static IP address on eth0 network device.
Enhancements:
- This live CD release is based on Ubuntu 7.04 and VoiceOne 0.5.0_2 due to a minor bug in VoiceOne version 0.5.0.
<<lessVoiceBuntus focus is to run asterisk with no installation needed. VoiceBuntu - ubuntu itself - has built in boot prompt cheap code one can use called persistent.
This feature allows the user to use VoiceBuntus persistent feature in order to keep settings on a flash disk or memory stick.
To start, just burn the ISO file on a CD-ROM then start the live cd distribution and wait until everything is ready.
Please note, that apache will start at the very last moment of the boot cycle. So you may a to wait 1 or 2 minutes to let everything load.
Once everything is prepared, start your browser and point to the IP address of your running VoiceBuntu (i.e. http://192.168.0.10).
If you have no DHCP Server available you can press F6 at boot screen and add additionally add the command parameter
static=xxx.xxx.xxx.xxx
netmask=xxx.xxx.xxx.xxx
bcast=xxx.xxx.xxx.xxx
gateway=xxx.xxx.xxx.xxx
dns1=xxx.xxx.xxx.xxx
dns2=xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP of your choice.
By that VoiceBuntu boots with static IP address on eth0 network device.
Enhancements:
- This live CD release is based on Ubuntu 7.04 and VoiceOne 0.5.0_2 due to a minor bug in VoiceOne version 0.5.0.
Download (417.1MB)
Added: 2007-07-14 License: GPL (GNU General Public License) Price:
832 downloads
cnslock 1.02
cnslock is a dockapp which provides a visual indication of the states of the three lock buttons (caps, num, and scroll). more>>
cnslock is a dock application (dockapp) which provides a visual indication of the states of the three "lock" buttons (caps, num, and scroll).
cnslock was written so that I could see the state of those keys as I have a wireless keyboard with no leds on it.
Usage:
Simply launch:
cnslock
If you have problems running it under a different window manager, such as fvwm or enlightenment, there is a command line argument that may help:
cnslock -w
<<lesscnslock was written so that I could see the state of those keys as I have a wireless keyboard with no leds on it.
Usage:
Simply launch:
cnslock
If you have problems running it under a different window manager, such as fvwm or enlightenment, there is a command line argument that may help:
cnslock -w
Download (0.025MB)
Added: 2006-10-23 License: GPL (GNU General Public License) Price:
1096 downloads
tappipe 1.02
tappipe is a VPN that is very small and very easy to set up. more>>
tappipe project is a VPN that is very easy to set up and very small.
Installation:
1. Load TUN/TAP module if needed:
modprobe tun
2. Configure server:
- edit server.conf
- edit server.sh
- start (as root):
stunnel server.conf
3. Configure client:
- edit client.conf
- edit client.sh
- start (as root):
stunnel client.conf
4. To get statistics use (as root):
killall -USR1 tappipe
5. Check your syslog for any messages.
Enhancements:
- This is the first stable version.
<<lessInstallation:
1. Load TUN/TAP module if needed:
modprobe tun
2. Configure server:
- edit server.conf
- edit server.sh
- start (as root):
stunnel server.conf
3. Configure client:
- edit client.conf
- edit client.sh
- start (as root):
stunnel client.conf
4. To get statistics use (as root):
killall -USR1 tappipe
5. Check your syslog for any messages.
Enhancements:
- This is the first stable version.
Download (0.011MB)
Added: 2006-03-13 License: GPL (GNU General Public License) Price:
1320 downloads
libwacky 1.02
libwacky provides a C library which supports the WACKY protocol. more>>
libwacky provides a C library which supports the WACKY protocol.
WHAT IS IT?
libwacky is a C programming library which implements the WACKY/1.0 protocol. It allows you to send blinking commands to a wackyd. The distribution includes wackyp, a program that links to libwacky and allows you to issue commands to a wackyd from the command line.
libwacky was built with GNU autoconf. So if you are familiar with GNU
software, then you should be comfortable installing wackyd. Please
consult the file INSTALL for more details.
<<lessWHAT IS IT?
libwacky is a C programming library which implements the WACKY/1.0 protocol. It allows you to send blinking commands to a wackyd. The distribution includes wackyp, a program that links to libwacky and allows you to issue commands to a wackyd from the command line.
libwacky was built with GNU autoconf. So if you are familiar with GNU
software, then you should be comfortable installing wackyd. Please
consult the file INSTALL for more details.
Download (0.22MB)
Added: 2007-03-23 License: GPL (GNU General Public License) Price:
947 downloads
ummf 1.02
ummf Perl module contains a driver for UMMF. more>>
ummf Perl module contains a driver for UMMF.
SYNOPSIS
ummf [-I dir] [-M MetaModel] [-m Main::Module] [-o {dir|-}] [-e exporter] input ...
This is a driver for the UMMF toolkit. It translates UML input documents into the export targets specified by the -e option. If -o - is specified the output is generated to STDOUT, otherwise the output is multiplexed into files underneath the directory specified by the -o option, using files2dirs.
If input is UML-1.5, then the internal UML 1.5 meta-model (from UMMF::UML::MetaModel) is used as input.
Input files can be .zargo (ArgoUML and Poseidon for UML 1.x), .zuml (Poseidon for UML 2.x) or XMI 1.0 or 1.2 documents.
USAGE
ummf -e java -e perl -o gen test/test1.xmi
Generates Java and Perl code in directory gen from test/test1.xmi.
ummf -e perl::hibernate -o gen test/test2.zargo
Generates Java Hibernate hbn.xml file in directory gen from test/test2.zargo.
ummf -e XMI -o - UML-1.5
Generates XMI for the UML 1.5 meta-model on the standard output stream.
ummf --perl5lib
Print the PERL5LIB path needed for Perl code generated by UMMF.
ummf -L Some::Package
Loads Some::Package.
ummf -m Some::Package @args ...
Loads Some::Package and executes >.
ummf -I dir/with/perl/modules
Executes use lib dir/with/perl/modules; including modules from the specified directory in the search path.
ummf -M UMMF::Boot::MetaModel
Uses UMMF::Boot::MetaModel for the meta-model, defaults to UMMF::UML_1_5.
ummf -profile MyMagicProfile -e Perl UML-1.5
Applies MyMagicProfile during export of Perl code on the UML 1.5 meta-model. This overides the default lib/ummf/profile/UML-1.5.ummfprofile file.
<<lessSYNOPSIS
ummf [-I dir] [-M MetaModel] [-m Main::Module] [-o {dir|-}] [-e exporter] input ...
This is a driver for the UMMF toolkit. It translates UML input documents into the export targets specified by the -e option. If -o - is specified the output is generated to STDOUT, otherwise the output is multiplexed into files underneath the directory specified by the -o option, using files2dirs.
If input is UML-1.5, then the internal UML 1.5 meta-model (from UMMF::UML::MetaModel) is used as input.
Input files can be .zargo (ArgoUML and Poseidon for UML 1.x), .zuml (Poseidon for UML 2.x) or XMI 1.0 or 1.2 documents.
USAGE
ummf -e java -e perl -o gen test/test1.xmi
Generates Java and Perl code in directory gen from test/test1.xmi.
ummf -e perl::hibernate -o gen test/test2.zargo
Generates Java Hibernate hbn.xml file in directory gen from test/test2.zargo.
ummf -e XMI -o - UML-1.5
Generates XMI for the UML 1.5 meta-model on the standard output stream.
ummf --perl5lib
Print the PERL5LIB path needed for Perl code generated by UMMF.
ummf -L Some::Package
Loads Some::Package.
ummf -m Some::Package @args ...
Loads Some::Package and executes >.
ummf -I dir/with/perl/modules
Executes use lib dir/with/perl/modules; including modules from the specified directory in the search path.
ummf -M UMMF::Boot::MetaModel
Uses UMMF::Boot::MetaModel for the meta-model, defaults to UMMF::UML_1_5.
ummf -profile MyMagicProfile -e Perl UML-1.5
Applies MyMagicProfile during export of Perl code on the UML 1.5 meta-model. This overides the default lib/ummf/profile/UML-1.5.ummfprofile file.
Download (0.67MB)
Added: 2007-06-07 License: Perl Artistic License Price:
871 downloads
App::Options 1.02
App::Options is Perl module combine command line options, environment vars, and option file values (for program configuration). more>>
App::Options is Perl module to combine command line options, environment vars, and option file values (for program configuration).
SYNOPSIS
#!/usr/local/bin/perl
use App::Options; # reads option values into %App::options by default
# do something with the options (in %App::options)
use DBI;
$dsn = "dbi:mysql:database=$App::options{dbname}";
$dbh = DBI->connect($dsn, $App::options{dbuser}, $App::options{dbpass});
...
Get help from the command line (assuming program is named "prog") ...
prog -?
Option values may be provided on the command line, in environment variables, and option files. (i.e. $ENV{APP_DBNAME} would set the value of %App::options{dbname} by default.)
The "dbname" and other options could also be set in one of the following configuration files
$HOME/.app/prog.conf
$HOME/.app/app.conf
$PROGDIR/prog.conf
$PROGDIR/app.conf
$PREFIX/etc/app/prog.conf
$PREFIX/etc/app/app.conf
/etc/app/app.conf
with a file format like
[prog]
dbname = prod
dbuser = scott
dbpass = tiger
See below for a more detailed explanation of these and other advanced features.
App::Options combines command-line arguments, environment variables, option files, and program defaults to produce a hash of option values.
<<lessSYNOPSIS
#!/usr/local/bin/perl
use App::Options; # reads option values into %App::options by default
# do something with the options (in %App::options)
use DBI;
$dsn = "dbi:mysql:database=$App::options{dbname}";
$dbh = DBI->connect($dsn, $App::options{dbuser}, $App::options{dbpass});
...
Get help from the command line (assuming program is named "prog") ...
prog -?
Option values may be provided on the command line, in environment variables, and option files. (i.e. $ENV{APP_DBNAME} would set the value of %App::options{dbname} by default.)
The "dbname" and other options could also be set in one of the following configuration files
$HOME/.app/prog.conf
$HOME/.app/app.conf
$PROGDIR/prog.conf
$PROGDIR/app.conf
$PREFIX/etc/app/prog.conf
$PREFIX/etc/app/app.conf
/etc/app/app.conf
with a file format like
[prog]
dbname = prod
dbuser = scott
dbpass = tiger
See below for a more detailed explanation of these and other advanced features.
App::Options combines command-line arguments, environment variables, option files, and program defaults to produce a hash of option values.
Download (0.033MB)
Added: 2007-02-20 License: Perl Artistic License Price:
977 downloads
Getopt::Tiny 1.02
Getopt::Tiny is yet another command line argument parsing module. more>>
Getopt::Tiny is yet another command line argument parsing module.
SYNOPSIS
use Getopt::Tiny;
my $arg = default value;
my @list;
my %hash;
my $flag;
my %set;
# begin usage info
my (%flags) = (
argx => $arg, # set a parameter
listx => @list, # fill in a list
hashx => %hash, # set key/value pairs
);
my (%switches) = (
flagx => $flag, # on or off
}
# end usage info
getopt(@ARGV, %flags, %switches, $what_comes_after);
Getopt::Tiny::usage(__FILE__, %flags, %switches, files);
or
use Getopt::Tiny;
%flags = ...
%switches = ...
getopt()
Getopt::Tiny::usage();
Getopt::Tiny is yet another argument parsing module. The results of the argument parsing are stored by using references that were provided to getopt(). Usage information is automatically generated. Getopt::Tiny expects all arguments to be switches -- no trailing list of files.
Getopt::Tiny can either call an existing usage() function or it can use its own builtin one. It trys to use the existing one by default. If that fails, it will use its own. It figures out how to describe things by reading the file where call to getopt() originated. In the file where getopt is called, the following two lines must appear exactly as written here:
# begin usage info
# end usage info
Between these two lines, lines that match the pattern of:
someflag => ... # a description
will be noticed and used to document each flag individually.
The usage() function of Getopt::Tiny can be called on its own. It can either have its arguments given to it explicitly or it can default them like getopt().
If a usage function is provided, it will be called with one parameter: the argument that didnt parse.
Getopt::Tiny can be used in situation where it is expected to parse the entire command line and in situations where there will be command line args left over. When Getopt::Tiny is expected to parse the whole command line, do not include a forth argument to getopt(). When it is expected that there will be stuff left over, pass a description of what should be left over as the forth argument to getopt().
<<lessSYNOPSIS
use Getopt::Tiny;
my $arg = default value;
my @list;
my %hash;
my $flag;
my %set;
# begin usage info
my (%flags) = (
argx => $arg, # set a parameter
listx => @list, # fill in a list
hashx => %hash, # set key/value pairs
);
my (%switches) = (
flagx => $flag, # on or off
}
# end usage info
getopt(@ARGV, %flags, %switches, $what_comes_after);
Getopt::Tiny::usage(__FILE__, %flags, %switches, files);
or
use Getopt::Tiny;
%flags = ...
%switches = ...
getopt()
Getopt::Tiny::usage();
Getopt::Tiny is yet another argument parsing module. The results of the argument parsing are stored by using references that were provided to getopt(). Usage information is automatically generated. Getopt::Tiny expects all arguments to be switches -- no trailing list of files.
Getopt::Tiny can either call an existing usage() function or it can use its own builtin one. It trys to use the existing one by default. If that fails, it will use its own. It figures out how to describe things by reading the file where call to getopt() originated. In the file where getopt is called, the following two lines must appear exactly as written here:
# begin usage info
# end usage info
Between these two lines, lines that match the pattern of:
someflag => ... # a description
will be noticed and used to document each flag individually.
The usage() function of Getopt::Tiny can be called on its own. It can either have its arguments given to it explicitly or it can default them like getopt().
If a usage function is provided, it will be called with one parameter: the argument that didnt parse.
Getopt::Tiny can be used in situation where it is expected to parse the entire command line and in situations where there will be command line args left over. When Getopt::Tiny is expected to parse the whole command line, do not include a forth argument to getopt(). When it is expected that there will be stuff left over, pass a description of what should be left over as the forth argument to getopt().
Download (0.005MB)
Added: 2007-04-11 License: Perl Artistic License Price:
926 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 openquicktime 1.02 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