die hard 4.0
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1482
Fly Hard 0.3
Fly Hard is a game resembling Thrust, but with lots of shooting and puzzles. more>>
Fly Hard is a game resembling Thrust, but with lots of shooting and puzzles.
Main features:
- Realistic(ish) physics.
- Awesome weapons(if you can afford them).
- Upgradable ship.
- 10 whole levels!
- Sound!
- Editable levels
<<lessMain features:
- Realistic(ish) physics.
- Awesome weapons(if you can afford them).
- Upgradable ship.
- 10 whole levels!
- Sound!
- Editable levels
Download (0.34MB)
Added: 2007-01-15 License: Freeware Price:
1014 downloads
Net-SSH2 0.09
Net-SSH2 is a SSH 2 protocol interface. more>>
Net-SSH2 is a SSH 2 protocol interface.
SYNOPSIS
Top
use Net::SSH2;
my $ssh2 = Net::SSH2->new();
$ssh2->connect(example.com) or die;
if ($ssh2->auth_keyboard(fizban)) {
my $chan = $ssh2->channel();
$chan->exec(program);
my $sftp = $ssh2->sftp();
my $fh = $sftp->open(/etc/passwd) or die;
print $_ while < $fh >;
}
Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org) library. It supports the SSH2 protocol (there is no support for SSH1) with all of the key exchanges, ciphers, and compression of libssh2.
Unless otherwise indicated, methods return a true value on success and false on failure; use the error method to get extended error information.
The typical order is to create the SSH2 object, set up the connection methods you want to use, call connect, authenticate with one of the auth methods, then create channels on the connection to perform commands.
<<lessSYNOPSIS
Top
use Net::SSH2;
my $ssh2 = Net::SSH2->new();
$ssh2->connect(example.com) or die;
if ($ssh2->auth_keyboard(fizban)) {
my $chan = $ssh2->channel();
$chan->exec(program);
my $sftp = $ssh2->sftp();
my $fh = $sftp->open(/etc/passwd) or die;
print $_ while < $fh >;
}
Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org) library. It supports the SSH2 protocol (there is no support for SSH1) with all of the key exchanges, ciphers, and compression of libssh2.
Unless otherwise indicated, methods return a true value on success and false on failure; use the error method to get extended error information.
The typical order is to create the SSH2 object, set up the connection methods you want to use, call connect, authenticate with one of the auth methods, then create channels on the connection to perform commands.
Download (0.064MB)
Added: 2006-09-28 License: Perl Artistic License Price:
1125 downloads
CGI::EasyCGI 0.5.0
CGI::EasyCGI is a lightweight Perl module for handling the most common CGI functions. more>>
Simple to use, single file with no dependencies, and short learning curve for those times when you dont want or need the swiss army knife of cgi modules.
Synopsis
use CGI::EasyCGI;
my $Page = EasyCGI->new_page("html");
my $Cookie = {Name => "pklogin", Value => {UserName => $Self->{Env}{username}, Password => $Self->{Env}{password}}; $Page->add_cookie($Cookie);
%PKEnv = EasyCGI::cgi_request() or die "No Http Environment";
%Cookies = EasyCGI::get_cookie_list() or die "no cookies";
$SomeCookie = $Cookies{SomeCookieName}; $SomeCookieValue = $$SomeCookie(SomeCookieVariable};
my $Html = "hello world!!"; $Page->append_to_page($Html);
$Page->print_page();
This module handles all the details of sending a document of any content type to a WebBrowser. It also handles retrieving form data from sent via "get" or "post" in regular or multipart/form-data encodings(file uploads). It does this transparently to the user through a single interface. Finally it handles setting and retrieving cookies. It does all this as a standalone module with no dependencies for an easy install.
<<lessSynopsis
use CGI::EasyCGI;
my $Page = EasyCGI->new_page("html");
my $Cookie = {Name => "pklogin", Value => {UserName => $Self->{Env}{username}, Password => $Self->{Env}{password}}; $Page->add_cookie($Cookie);
%PKEnv = EasyCGI::cgi_request() or die "No Http Environment";
%Cookies = EasyCGI::get_cookie_list() or die "no cookies";
$SomeCookie = $Cookies{SomeCookieName}; $SomeCookieValue = $$SomeCookie(SomeCookieVariable};
my $Html = "hello world!!"; $Page->append_to_page($Html);
$Page->print_page();
This module handles all the details of sending a document of any content type to a WebBrowser. It also handles retrieving form data from sent via "get" or "post" in regular or multipart/form-data encodings(file uploads). It does this transparently to the user through a single interface. Finally it handles setting and retrieving cookies. It does all this as a standalone module with no dependencies for an easy install.
Download (0.005MB)
Added: 2006-10-03 License: Perl Artistic License Price:
1116 downloads
Gtk2::Ex::Carp 0.01
Gtk2::Ex::Carp is a GTK+ friendly die() and warn() functions. more>>
Gtk2::Ex::Carp is a GTK+ friendly die() and warn() functions.
SYNOPSIS
use Gtk2::Ex::Carp;
# these override the standard Perl functions:
warn(i told you not to push that button!);
die(an ignominious death);
# new functions for showing extended error information:
# like warn(), but shows a dialog with extra information
# in an expandable text entry:
worry($SHORT_MESSAGE, $EXTENDED_INFORMATION);
# like worry(), but fatal:
wail($SHORT_MESSAGE, $EXTENDED_INFORMATION);
This module exports four functions, of which two override the standard die() and warn() functions, and two which allow for extended error reporting. When called, these functions display a user-friendly message dialog window.
The die() function in this module actually replaces the core die() function, so any modules youve loaded may die will use former instead of the latter. die() will also print the error message to STDERR and will exit the program (with the appropriate exit code) when the dialog is dismissed.
The warn() function will also print a message to STDERR, but will allow the program to continue running when the dialog is dismissed.
EXTRA FUNCTIONS
The worry() and wail() functions behave just like warn() and die(), respectively, except that they allow you to provide additional information. A second argument, which can contain additional error information, is used to fill a text box inside an expander.
HANDLING GLIB EXCEPTIONS
This module also installs warn() as a Glib exception handler. Any unhandled exceptions will be presented to the user in a warning dialog.
PROGRAM FLOW
Note that all the functions in this module create dialogs and use the run() method, so that the standard Glib main loop is blocked until the user responds to the dialog.
<<lessSYNOPSIS
use Gtk2::Ex::Carp;
# these override the standard Perl functions:
warn(i told you not to push that button!);
die(an ignominious death);
# new functions for showing extended error information:
# like warn(), but shows a dialog with extra information
# in an expandable text entry:
worry($SHORT_MESSAGE, $EXTENDED_INFORMATION);
# like worry(), but fatal:
wail($SHORT_MESSAGE, $EXTENDED_INFORMATION);
This module exports four functions, of which two override the standard die() and warn() functions, and two which allow for extended error reporting. When called, these functions display a user-friendly message dialog window.
The die() function in this module actually replaces the core die() function, so any modules youve loaded may die will use former instead of the latter. die() will also print the error message to STDERR and will exit the program (with the appropriate exit code) when the dialog is dismissed.
The warn() function will also print a message to STDERR, but will allow the program to continue running when the dialog is dismissed.
EXTRA FUNCTIONS
The worry() and wail() functions behave just like warn() and die(), respectively, except that they allow you to provide additional information. A second argument, which can contain additional error information, is used to fill a text box inside an expander.
HANDLING GLIB EXCEPTIONS
This module also installs warn() as a Glib exception handler. Any unhandled exceptions will be presented to the user in a warning dialog.
PROGRAM FLOW
Note that all the functions in this module create dialogs and use the run() method, so that the standard Glib main loop is blocked until the user responds to the dialog.
Download (0.04MB)
Added: 2006-07-12 License: GPL (GNU General Public License) Price:
1199 downloads
Moonlander 1.0
Moonlander is a space simulation game. more>>
Moonlander is a space simulation game.
You must land with lander on the Moon, but you have limited fuel.
Landing is very hard, because you must land very very slow. Prees "B" to increase fuel.
<<lessYou must land with lander on the Moon, but you have limited fuel.
Landing is very hard, because you must land very very slow. Prees "B" to increase fuel.
Download (0.32MB)
Added: 2005-12-07 License: GPL (GNU General Public License) Price:
2040 downloads
Audio:PSID 3.11
Audio:PSID is a Perl module to handle SID files (Commodore-64 music files). more>>
Audio:PSID is a Perl module to handle SID files (Commodore-64 music files).
SYNOPSIS
use Audio::SID;
$mySID = new Audio::SID(-filename => Test.sid) or die "Whoops!";
print "Title = " . $mySID->get(title) . "n";
print "MD5 = " . $mySID->getMD5();
$mySID->set(author => LaLa,
title => Test2,
released => 2001 Hungarian Music Crew);
$mySID->validate();
$mySID->write(-filename => Test2.sid) or die "Couldnt write file!";
@array = $mySID->getFieldNames();
print "Fieldnames = " . join( , @array) . "n";
This module is designed to handle SID files (usually bearing a .sid extension), which are music player and data routines converted from the Commodore-64 computer with an additional informational header prepended. For further details about the exact file format, see description of all SID fields in the SID_file_format.txt file included in the module package.
<<lessSYNOPSIS
use Audio::SID;
$mySID = new Audio::SID(-filename => Test.sid) or die "Whoops!";
print "Title = " . $mySID->get(title) . "n";
print "MD5 = " . $mySID->getMD5();
$mySID->set(author => LaLa,
title => Test2,
released => 2001 Hungarian Music Crew);
$mySID->validate();
$mySID->write(-filename => Test2.sid) or die "Couldnt write file!";
@array = $mySID->getFieldNames();
print "Fieldnames = " . join( , @array) . "n";
This module is designed to handle SID files (usually bearing a .sid extension), which are music player and data routines converted from the Commodore-64 computer with an additional informational header prepended. For further details about the exact file format, see description of all SID fields in the SID_file_format.txt file included in the module package.
Download (0.022MB)
Added: 2007-01-02 License: Perl Artistic License Price:
1025 downloads
File::Sync 0.09
File::Sync is a Perl access to fsync() and sync() function calls. more>>
File::Sync is a Perl access to fsync() and sync() function calls.
SYNOPSIS
use File::Sync qw(fsync sync);
fsync(*FILEHANDLE) or die "fsync: $!";
sync();
use File::Sync qw(fsync);
use IO::File;
$fh = IO::File->new("> /tmp/foo")
or die "new IO::File: $!";
...
fsync($fh) or die "fsync: $!";
The fsync() function takes a Perl file handle as its only argument, and passes its fileno() to the C function fsync(). It returns undef on failure, or true on success.
The fsync_fd() function is used internally by fsync(); it takes a file descriptor as its only argument.
The sync() function is identical to the C function sync().
This module does not export any methods by default, but fsync() is made available as a method of the FileHandle and IO::Handle classes.
<<lessSYNOPSIS
use File::Sync qw(fsync sync);
fsync(*FILEHANDLE) or die "fsync: $!";
sync();
use File::Sync qw(fsync);
use IO::File;
$fh = IO::File->new("> /tmp/foo")
or die "new IO::File: $!";
...
fsync($fh) or die "fsync: $!";
The fsync() function takes a Perl file handle as its only argument, and passes its fileno() to the C function fsync(). It returns undef on failure, or true on success.
The fsync_fd() function is used internally by fsync(); it takes a file descriptor as its only argument.
The sync() function is identical to the C function sync().
This module does not export any methods by default, but fsync() is made available as a method of the FileHandle and IO::Handle classes.
Download (0.004MB)
Added: 2006-06-29 License: Perl Artistic License Price:
1213 downloads
Sepia 0.70
Sepia is a simple Emacs-Perl Interface. more>>
Sepia is a simple Emacs-Perl Interface.
@compls = completions($string [, $type])
Find a list of completions for $string with glob type $type. Completion operates on word subparts separated by [:_], so e.g. "S:m_w" completes to "Sepia::my_walksymtable".
@locs = location(@names)
Return a list of [file, line, name] triples, one for each function name in @names.
@matches = apropos($name [, $is_regex])
Search for function $name, either in all packages or, if $name is qualified, only in one package. If $is_regex is true, the non-package part of $name is a regular expression.
@names = mod_subs($pack)
Find subs in package $pack.
@decls = mod_decls($pack)
Generate a list of declarations for all subroutines in package $pack.
$info = module_info($module, $type)
Emacs-called function to get module information.
$file = mod_file($mod)
Find the likely file owner for module $mod.
@mods = package_list
Gather a list of all distributions on the system. XXX UNUSED
@mods = module_list
Gather a list of all packages (.pm files, really) installed on the system, grouped by distribution. XXX UNUSED
@mods = doc_list
Gather a list of all documented packages (.?pm files, really) installed on the system, grouped by distribution. XXX UNUSED
lexicals($subname)
Return a list of $subnames lexical variables. Note that this includes all nested scopes -- I dont know if or how Perl distinguishes inner blocks.
$lisp = tolisp($perl)
Convert a Perl scalar to some ELisp equivalent.
printer(@res [, $iseval])
Print @res appropriately on the current filehandle. If $iseval is true, use terse format. Otherwise, use human-readable format.
repl(*FH)
Execute a command interpreter on FH. The prompt has a few bells and whistles, including:
* Obviously-incomplete lines are treated as multiline input.
* C< die > is overridden to enter a recursive interpreter at the point
C< die > is called. From within this interpreter, you can examine a
backtrace by calling "bt", return from C< die > with "r EXPR", or
go ahead and die by pressing Control-c.
Behavior is controlled in part through the following package-globals:
$PS1 -- the default prompt
$STOPDIE -- true to enter the inspector on die()
$STOPWARN -- true to enter the inspector on warn()
%REPL -- maps shortcut names to handlers
$PACKAGE -- evaluation package
$WANTARRAY -- evaluation context
$PRINTER -- result printer (default: print_dumper)
<<less@compls = completions($string [, $type])
Find a list of completions for $string with glob type $type. Completion operates on word subparts separated by [:_], so e.g. "S:m_w" completes to "Sepia::my_walksymtable".
@locs = location(@names)
Return a list of [file, line, name] triples, one for each function name in @names.
@matches = apropos($name [, $is_regex])
Search for function $name, either in all packages or, if $name is qualified, only in one package. If $is_regex is true, the non-package part of $name is a regular expression.
@names = mod_subs($pack)
Find subs in package $pack.
@decls = mod_decls($pack)
Generate a list of declarations for all subroutines in package $pack.
$info = module_info($module, $type)
Emacs-called function to get module information.
$file = mod_file($mod)
Find the likely file owner for module $mod.
@mods = package_list
Gather a list of all distributions on the system. XXX UNUSED
@mods = module_list
Gather a list of all packages (.pm files, really) installed on the system, grouped by distribution. XXX UNUSED
@mods = doc_list
Gather a list of all documented packages (.?pm files, really) installed on the system, grouped by distribution. XXX UNUSED
lexicals($subname)
Return a list of $subnames lexical variables. Note that this includes all nested scopes -- I dont know if or how Perl distinguishes inner blocks.
$lisp = tolisp($perl)
Convert a Perl scalar to some ELisp equivalent.
printer(@res [, $iseval])
Print @res appropriately on the current filehandle. If $iseval is true, use terse format. Otherwise, use human-readable format.
repl(*FH)
Execute a command interpreter on FH. The prompt has a few bells and whistles, including:
* Obviously-incomplete lines are treated as multiline input.
* C< die > is overridden to enter a recursive interpreter at the point
C< die > is called. From within this interpreter, you can examine a
backtrace by calling "bt", return from C< die > with "r EXPR", or
go ahead and die by pressing Control-c.
Behavior is controlled in part through the following package-globals:
$PS1 -- the default prompt
$STOPDIE -- true to enter the inspector on die()
$STOPWARN -- true to enter the inspector on warn()
%REPL -- maps shortcut names to handlers
$PACKAGE -- evaluation package
$WANTARRAY -- evaluation context
$PRINTER -- result printer (default: print_dumper)
Download (0.081MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
DBIx::Simple::Examples 1.30
DBIx::Simple provides a simplified interface to DBI, Perls powerful database module. more>>
[COPRIGHT=1]
EXAMPLES
General
#!/usr/bin/perl -w
use strict;
use DBIx::Simple;
# Instant database with DBD::SQLite
my $db = DBIx::Simple->connect(dbi:SQLite:dbname=file.dat)
or die DBIx::Simple->error;
# Connecting to a MySQL database
my $db = DBIx::Simple->connect(
DBI:mysql:database=test, # DBI source specification
test, test, # Username and password
{ RaiseError => 1 } # Additional options
);
# Using an existing database handle
my $db = DBIx::Simple->connect($dbh);
# Abstracted example: $db->query($query, @variables)->what_you_want;
$db->commit or die $db->error;
Simple Queries
$db->query(DELETE FROM foo WHERE id = ?, $id) or die $db->error;
for (1..100) {
$db->query(
INSERT INTO randomvalues VALUES (?, ?),
int rand(10),
int rand(10)
) or die $db->error;
}
$db->query(
INSERT INTO sometable VALUES (??),
$first, $second, $third, $fourth, $fifth, $sixth
);
# (??) is expanded to (?, ?, ?, ?, ?, ?) automatically
Single row queries
my ($two) = $db->query(SELECT 1 + 1)->list;
my ($three, $four) = $db->query(SELECT 3, 2 + 2)->list;
my ($name, $email) = $db->query(
SELECT name, email FROM people WHERE email = ? LIMIT 1,
$mail
)->list;
Or, more efficiently:
$db->query(SELECT 1 + 1)->into(my $two);
$db->query(SELECT 3, 2 + 2)->into(my ($three, $four));
$db->query(
SELECT name, email FROM people WHERE email = ? LIMIT 1,
$mail
)->into(my ($name, $email));
<<lessEXAMPLES
General
#!/usr/bin/perl -w
use strict;
use DBIx::Simple;
# Instant database with DBD::SQLite
my $db = DBIx::Simple->connect(dbi:SQLite:dbname=file.dat)
or die DBIx::Simple->error;
# Connecting to a MySQL database
my $db = DBIx::Simple->connect(
DBI:mysql:database=test, # DBI source specification
test, test, # Username and password
{ RaiseError => 1 } # Additional options
);
# Using an existing database handle
my $db = DBIx::Simple->connect($dbh);
# Abstracted example: $db->query($query, @variables)->what_you_want;
$db->commit or die $db->error;
Simple Queries
$db->query(DELETE FROM foo WHERE id = ?, $id) or die $db->error;
for (1..100) {
$db->query(
INSERT INTO randomvalues VALUES (?, ?),
int rand(10),
int rand(10)
) or die $db->error;
}
$db->query(
INSERT INTO sometable VALUES (??),
$first, $second, $third, $fourth, $fifth, $sixth
);
# (??) is expanded to (?, ?, ?, ?, ?, ?) automatically
Single row queries
my ($two) = $db->query(SELECT 1 + 1)->list;
my ($three, $four) = $db->query(SELECT 3, 2 + 2)->list;
my ($name, $email) = $db->query(
SELECT name, email FROM people WHERE email = ? LIMIT 1,
)->list;
Or, more efficiently:
$db->query(SELECT 1 + 1)->into(my $two);
$db->query(SELECT 3, 2 + 2)->into(my ($three, $four));
$db->query(
SELECT name, email FROM people WHERE email = ? LIMIT 1,
)->into(my ($name, $email));
Download (0.015MB)
Added: 2007-05-10 License: Public Domain Price:
897 downloads
Pod::Simple::Wiki 0.07
Pod::Simple::Wiki is a class for creating Pod to Wiki filters. more>>
Pod::Simple::Wiki is a class for creating Pod to Wiki filters.
SYNOPSIS
To create a simple filter to convert from Pod to a wiki format:
#!/usr/bin/perl -w
use strict;
use Pod::Simple::Wiki;
my $parser = Pod::Simple::Wiki->new(kwiki);
if (defined $ARGV[0]) {
open IN, $ARGV[0] or die "Couldnt open $ARGV[0]: $!n";
} else {
*IN = *STDIN;
}
if (defined $ARGV[1]) {
open OUT, ">$ARGV[1]" or die "Couldnt open $ARGV[1]: $!n";
} else {
*OUT = *STDOUT;
}
$parser->output_fh(*OUT);
$parser->parse_file(*IN);
__END__
To convert Pod to a wiki format using the installed pod2wiki utility:
pod2wiki --style mediawiki file.pod > file.wiki
<<lessSYNOPSIS
To create a simple filter to convert from Pod to a wiki format:
#!/usr/bin/perl -w
use strict;
use Pod::Simple::Wiki;
my $parser = Pod::Simple::Wiki->new(kwiki);
if (defined $ARGV[0]) {
open IN, $ARGV[0] or die "Couldnt open $ARGV[0]: $!n";
} else {
*IN = *STDIN;
}
if (defined $ARGV[1]) {
open OUT, ">$ARGV[1]" or die "Couldnt open $ARGV[1]: $!n";
} else {
*OUT = *STDOUT;
}
$parser->output_fh(*OUT);
$parser->parse_file(*IN);
__END__
To convert Pod to a wiki format using the installed pod2wiki utility:
pod2wiki --style mediawiki file.pod > file.wiki
Download (0.014MB)
Added: 2007-02-12 License: Perl Artistic License Price:
984 downloads
Sprite 3.21
Sprite is a Perl module to manipulate text delimited databases using SQL. more>>
Sprite is a Perl module to manipulate text delimited databases using SQL.
SYNOPSIS
use Sprite;
$rdb = new Sprite;
$rdb->set_delimiter (-Read => ::) ## OR: (Read, ::);
$rdb->set_delimiter (-Write => ::) ## OR: (Write, ::);
$rdb->set_os (Win95);
## Valid arguments (case insensitive) include:
##
## Unix, Win95, Windows95, MSDOS, NT, WinNT, OS2, VMS,
## MacOS or Macintosh. Default determined by $^O.
$rdb->set_lock_file (c:win95tmpSprite.lck, 10);
$rdb->set_db_dir (Mac OS:Perl 5:Data) || die "Cant access dir!n";
$data = $rdb->sql (<<less
SYNOPSIS
use Sprite;
$rdb = new Sprite;
$rdb->set_delimiter (-Read => ::) ## OR: (Read, ::);
$rdb->set_delimiter (-Write => ::) ## OR: (Write, ::);
$rdb->set_os (Win95);
## Valid arguments (case insensitive) include:
##
## Unix, Win95, Windows95, MSDOS, NT, WinNT, OS2, VMS,
## MacOS or Macintosh. Default determined by $^O.
$rdb->set_lock_file (c:win95tmpSprite.lck, 10);
$rdb->set_db_dir (Mac OS:Perl 5:Data) || die "Cant access dir!n";
$data = $rdb->sql (<<less
Download (0.014MB)
Added: 2007-05-16 License: Perl Artistic License Price:
900 downloads
Net::Akismet 0.02
Net::Akismet is a Perl interface to Akismet - comment and trackback spam fighter. more>>
Net::Akismet is a Perl interface to Akismet - comment and trackback spam fighter.
SYNOPSIS
my $akismet = Net::Akismet->new(
KEY => secret-baba-API-key,
URL => http://example.blog.net/,
) or die(Key verification failure!);
my $verdict = $akismet->check(
USER_IP => 10.10.10.11,
COMMENT_CONTENT => Run, Lola, Run, the spam will catch you!,
COMMENT_AUTHOR => dosser,
COMENT_AUTHOR_EMAIL => dosser@subway.de,
REFERRER => http://lola.home/,
) or die(Is the server here?);
if (true eq $verdict) {
print "I found spam. I am a spam-founder!n";
}
<<lessSYNOPSIS
my $akismet = Net::Akismet->new(
KEY => secret-baba-API-key,
URL => http://example.blog.net/,
) or die(Key verification failure!);
my $verdict = $akismet->check(
USER_IP => 10.10.10.11,
COMMENT_CONTENT => Run, Lola, Run, the spam will catch you!,
COMMENT_AUTHOR => dosser,
COMENT_AUTHOR_EMAIL => dosser@subway.de,
REFERRER => http://lola.home/,
) or die(Is the server here?);
if (true eq $verdict) {
print "I found spam. I am a spam-founder!n";
}
Download (0.004MB)
Added: 2007-03-23 License: Perl Artistic License Price:
945 downloads
Convert::Wiki 0.05
Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code. more>>
Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code.
SYNOPSIS
use Convert::Wiki;
my $wiki = Convert::Wiki->new();
$wiki->from_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
$wiki->from_html ( $html );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
# clear the object manually
$wiki->clear();
$wiki->add_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
Convert::Wiki converts from various formats to various Wiki formats.
Input can come as HTML, POD or plain TXT (like it is written in many READMEs). The data will be converted to an internal, node based format and can then be converted to Wikicode as used by many wikis like the Wikipedia.
<<lessSYNOPSIS
use Convert::Wiki;
my $wiki = Convert::Wiki->new();
$wiki->from_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
$wiki->from_html ( $html );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
# clear the object manually
$wiki->clear();
$wiki->add_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();
Convert::Wiki converts from various formats to various Wiki formats.
Input can come as HTML, POD or plain TXT (like it is written in many READMEs). The data will be converted to an internal, node based format and can then be converted to Wikicode as used by many wikis like the Wikipedia.
Download (0.019MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1176 downloads
Wily::Message 0.02
Wily::Message is a Perl extension to handle Wily Messages. more>>
Wily::Message is a Perl extension to handle Wily Messages.
SYNOPSIS
use Wily::Message;
use Wily::Connect;
# opens a file in wily and exits when the window is destroyed
my $win_id;
my $ws = Wily::Connect::connect();
my $wm = Wily::Message->new(Wily::Message::WMnew, 0, 0, 0, 1,
/tmp/file_to_edit);
$ws->syswrite($wm->flatten());
my $buffer = ;
until (Wily::Message::complete_message($buffer)) {
$ws->sysread($buffer, 1024, length($buffer));
}
$buffer = $wm->from_string($buffer);
if ($wm->{type} == Wily::Message::WRerror) {
die "Error WMnew: $wm->{s}n";
} elsif ($wm->{type} == Wily::Message::WRnew) {
$win_id = $wm->{window_id};
$wm = Wily::Message->new(Wily::Message::WMattach, $win_id, 0, 0,
Wily::Message::WEdestroy);
$ws->syswrite($wm->flatten());
until (Wily::Message::complete_message($buffer)) {
$ws->sysread($buffer, 1024, length($buffer));
}
$buffer = $wm->from_string($buffer);
if ($wm->{type} == Wily::Message::WRerror) {
die "Error WMattach: $wm->{s}n";
} elsif ($wm->{type} == Wily::Message::WRattach) {
} else {
die "Expected a WRattach, but didnt get one";
}
} else {
die "Expected a WRnew, but didnt get one";
}
while (1) {
until (Wily::Message::complete_message($buffer)) {
$ws->sysread($buffer, 1024, length($buffer));
}
$buffer = $wm->from_string($buffer);
if ($wm->{type} == Wily::Message::WEdestroy and $wm->{window_id} == $win_id) {
last;
}
}
A simple object wrapper around Wily messages with a helper function to assist in extracting messages from the wily connection.
<<lessSYNOPSIS
use Wily::Message;
use Wily::Connect;
# opens a file in wily and exits when the window is destroyed
my $win_id;
my $ws = Wily::Connect::connect();
my $wm = Wily::Message->new(Wily::Message::WMnew, 0, 0, 0, 1,
/tmp/file_to_edit);
$ws->syswrite($wm->flatten());
my $buffer = ;
until (Wily::Message::complete_message($buffer)) {
$ws->sysread($buffer, 1024, length($buffer));
}
$buffer = $wm->from_string($buffer);
if ($wm->{type} == Wily::Message::WRerror) {
die "Error WMnew: $wm->{s}n";
} elsif ($wm->{type} == Wily::Message::WRnew) {
$win_id = $wm->{window_id};
$wm = Wily::Message->new(Wily::Message::WMattach, $win_id, 0, 0,
Wily::Message::WEdestroy);
$ws->syswrite($wm->flatten());
until (Wily::Message::complete_message($buffer)) {
$ws->sysread($buffer, 1024, length($buffer));
}
$buffer = $wm->from_string($buffer);
if ($wm->{type} == Wily::Message::WRerror) {
die "Error WMattach: $wm->{s}n";
} elsif ($wm->{type} == Wily::Message::WRattach) {
} else {
die "Expected a WRattach, but didnt get one";
}
} else {
die "Expected a WRnew, but didnt get one";
}
while (1) {
until (Wily::Message::complete_message($buffer)) {
$ws->sysread($buffer, 1024, length($buffer));
}
$buffer = $wm->from_string($buffer);
if ($wm->{type} == Wily::Message::WEdestroy and $wm->{window_id} == $win_id) {
last;
}
}
A simple object wrapper around Wily messages with a helper function to assist in extracting messages from the wily connection.
Download (0.021MB)
Added: 2007-02-27 License: Perl Artistic License Price:
969 downloads
KaTeker 0.95
KaTeker is a backup tool for Linux useful for small companies and private people. more>>
KaTeker is a backup tool for Linux useful for small companies and private people. It saves data onto hard disk and CDs or other random access media.
<<less Download (15.72MB)
Added: 2005-09-26 License: GPL (GNU General Public License) Price:
1488 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 die hard 4.0 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