router 0.04
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 390
Net::BGP::Router 0.04
Net::BGP::Router is a BGP Router based on Net::BGP. more>>
Net::BGP::Router is a BGP Router based on Net::BGP.
SYNOPSIS
use Net::BGP::Router;
# Constructor
$router = new Net::BGP::Router(
Name => My very own router!,
Policy => new Net::BGP::Policy
);
# Accessor Methods
$router->add_peer($peer,both,$acl);
$router->remove_peer($peer,both);
$router->set_policy($policy);
$router->set_policy($peer,in,$acl);
__top
This module implement a BGP router. It uses Net::BGP objects for the BGP sessions and a Net::BGP::RIB object to store the routes. Policy are handled using a Net::BGP::Policy object.
<<lessSYNOPSIS
use Net::BGP::Router;
# Constructor
$router = new Net::BGP::Router(
Name => My very own router!,
Policy => new Net::BGP::Policy
);
# Accessor Methods
$router->add_peer($peer,both,$acl);
$router->remove_peer($peer,both);
$router->set_policy($policy);
$router->set_policy($peer,in,$acl);
__top
This module implement a BGP router. It uses Net::BGP objects for the BGP sessions and a Net::BGP::RIB object to store the routes. Policy are handled using a Net::BGP::Policy object.
Download (0.010MB)
Added: 2006-07-27 License: Perl Artistic License Price:
1189 downloads
Diet-Router 0.3
Diet-Router provides a singe floppy DSL router. more>>
Diet-Router provides a singe floppy DSL router.
Diet-Router is a Linux router that is small enough to fit on a single floppy disk. It focuses more on security than on functionality.
Diet-Router is a Linux router built with the dietlibc. It is small enough to fit on a single floppy disk. You may think that there are several other Linux routers, which come with more features and you are right. I build this router package more with the view on security than of functionality. So this project differs a lot from most other router or mini-Linux projects.
Main features:
- I use a 2.4.x kernel to have the great features of net-filter.
- I patch some net-filter extensions to have even more filter functions.
- I harden the kernel with the grsecurity kernel patch.
- Kernel modules are disabled.
- By default root login is disabled - even on the console.
How does it work:
First of all, all programs are linked statically. This is the main idea of this system. No libraries are needed. It uses busybox and tinylogin, two typical multi-call-binaries for small systems. The iptables, iptables-restore and iptables-save commands have been made a multi-call binary by me. The pppd and pppoe programs have only been patched to compile with the dietlibc. The minit and od_syslog are really small programs, from people with much more knowledge of programming than me. So, special thanks to Felix von Leitner, Olaf Drefs and all the dietlibc/libowfat programmers.
Enhancements:
- Updated dietlibc, libowfat, dropbear, ppp, kernel and grsecurity to recent
- versions.
- Added new packages dhcp server (udhcpd) and vi (e3).
- The build system has been completely rewritten and documented.
- It supports multiple downloads, a simple interface for package building/setup and target file descriptions including file owner and permissions.
- Some simple checks for build requirements are implementet.
- The setup is now able to configure mutiple network interfaces and also mproxy, udhcpd and dnscache can be configured for eachnetwork interface.
- All packages have at least two internet sources.
- Support for disc based target systems has been added.
<<lessDiet-Router is a Linux router that is small enough to fit on a single floppy disk. It focuses more on security than on functionality.
Diet-Router is a Linux router built with the dietlibc. It is small enough to fit on a single floppy disk. You may think that there are several other Linux routers, which come with more features and you are right. I build this router package more with the view on security than of functionality. So this project differs a lot from most other router or mini-Linux projects.
Main features:
- I use a 2.4.x kernel to have the great features of net-filter.
- I patch some net-filter extensions to have even more filter functions.
- I harden the kernel with the grsecurity kernel patch.
- Kernel modules are disabled.
- By default root login is disabled - even on the console.
How does it work:
First of all, all programs are linked statically. This is the main idea of this system. No libraries are needed. It uses busybox and tinylogin, two typical multi-call-binaries for small systems. The iptables, iptables-restore and iptables-save commands have been made a multi-call binary by me. The pppd and pppoe programs have only been patched to compile with the dietlibc. The minit and od_syslog are really small programs, from people with much more knowledge of programming than me. So, special thanks to Felix von Leitner, Olaf Drefs and all the dietlibc/libowfat programmers.
Enhancements:
- Updated dietlibc, libowfat, dropbear, ppp, kernel and grsecurity to recent
- versions.
- Added new packages dhcp server (udhcpd) and vi (e3).
- The build system has been completely rewritten and documented.
- It supports multiple downloads, a simple interface for package building/setup and target file descriptions including file owner and permissions.
- Some simple checks for build requirements are implementet.
- The setup is now able to configure mutiple network interfaces and also mproxy, udhcpd and dnscache can be configured for eachnetwork interface.
- All packages have at least two internet sources.
- Support for disc based target systems has been added.
Download (0.12MB)
Added: 2007-03-02 License: GPL (GNU General Public License) Price:
973 downloads
ArpMonitor 0.04
ArpMonitor will log any ARP request to and from your machine or network. more>>
ArpMonitor will log any ARP request to and from your machine or network. Its built for monitoring switches or bridges.
If you would like to monitor your network bus, or entire network ( if you dont use a switch or something like that ), just do a ifconfig PROMISC, to set the promiscuous mode of your network interface, and arpmonitor will automagically get all the traffic.
I did arpmonitor to help me in a research, in 1998, about arp packets, delays between switches ports and so on.
NOTE: some var name and code was stolen from neped. since I didn`t suceed to contact the author, they are here...
Enhancements:
- Added promisc mode setting ( to use instead ifconfig promisc ), fixed some syslog errors, signal handling , log to syslog or stderr, command line options (see USAGE), network code cleanup.
<<lessIf you would like to monitor your network bus, or entire network ( if you dont use a switch or something like that ), just do a ifconfig PROMISC, to set the promiscuous mode of your network interface, and arpmonitor will automagically get all the traffic.
I did arpmonitor to help me in a research, in 1998, about arp packets, delays between switches ports and so on.
NOTE: some var name and code was stolen from neped. since I didn`t suceed to contact the author, they are here...
Enhancements:
- Added promisc mode setting ( to use instead ifconfig promisc ), fixed some syslog errors, signal handling , log to syslog or stderr, command line options (see USAGE), network code cleanup.
Download (0.004MB)
Added: 2006-06-28 License: GPL (GNU General Public License) Price:
1215 downloads
Preppi 0.04
Preppi is a simple graphical EPP client for Unix and Linux systems. more>>
Preppi is a simple graphical EPP client for Unix and Linux systems. Preppi is written in Perl and makes use of the GTK+ and GNOME bindings for Perl, and our own EPP libraries.
<<less Download (0.023MB)
Added: 2007-02-09 License: GPL (GNU General Public License) Price:
988 downloads
ruby-ircd 0.04
ruby-ircd is an IRC daemon implementation. more>>
ruby-ircd is an IRC daemon implementation. ruby-ircd extends the webrick generic server.
Currently, it only supports minimal facilities like creation of rooms and private messaging between users and rooms.
Enhancements:
- Compatibility fixes were made for different clients. AWAY, LIST, TOPIC, WHOIS, and VERSION were implemented.
- The code was cleaned up.
<<lessCurrently, it only supports minimal facilities like creation of rooms and private messaging between users and rooms.
Enhancements:
- Compatibility fixes were made for different clients. AWAY, LIST, TOPIC, WHOIS, and VERSION were implemented.
- The code was cleaned up.
Download (0.004MB)
Added: 2007-06-16 License: GPL (GNU General Public License) Price:
861 downloads
RenderMan 0.04
RenderMan is a RenderMan binding as a Perl 5.6 module. more>>
RenderMan is a RenderMan binding as a Perl 5.6 module.
SYNOPSIS
use RenderMan;
This RenderMan module implements a Perl 5.6 binding for the BMRT client library (libribout). It fully supports the client library. Therefore, this module has the following limitations: Error Handling callbacks are not implemented, Filter function callbacks are not implemented, and the TransformPoints function does nothing. Also, Blobby is not yet supported by BMRT 2.5.0.8.
The full RenderMan specification is way beyond the scope of this man page. Please refer to the documents below for more information about RenderMan. The Perl binding is identical to the C binding except a few minor points: All "parameterlist"s are passed as a reference to a hash (i.e. %params).
Anywhere that a functions arguments can be terminated by RI_NULL, you can simply choose to not include that RI_NULL argument, which is incredibly nice.
All array, matrix, and basis types are single-dimension arrays of doubles in this Perl binding. The order for 2-dimension types is first-row followed by second-row, etc.
You will typically want to run your RenderMan Perl script and pipe the results into any RenderMan-compliant renderer, such as "rgl", "rendribv", or "rendrib", which all come with the excellent BMRT backage by Larry Gritz.
If using the WinNT version of BMRT, you can specify a filename, "rgl" or "rendrib" as the argument to Begin(); and the output will be sent to a file or automatically piped to "rgl" or "rendrib" since the piping mechanism (and general functionality) of WinNTs command line parser is, uh, limited.
<<lessSYNOPSIS
use RenderMan;
This RenderMan module implements a Perl 5.6 binding for the BMRT client library (libribout). It fully supports the client library. Therefore, this module has the following limitations: Error Handling callbacks are not implemented, Filter function callbacks are not implemented, and the TransformPoints function does nothing. Also, Blobby is not yet supported by BMRT 2.5.0.8.
The full RenderMan specification is way beyond the scope of this man page. Please refer to the documents below for more information about RenderMan. The Perl binding is identical to the C binding except a few minor points: All "parameterlist"s are passed as a reference to a hash (i.e. %params).
Anywhere that a functions arguments can be terminated by RI_NULL, you can simply choose to not include that RI_NULL argument, which is incredibly nice.
All array, matrix, and basis types are single-dimension arrays of doubles in this Perl binding. The order for 2-dimension types is first-row followed by second-row, etc.
You will typically want to run your RenderMan Perl script and pipe the results into any RenderMan-compliant renderer, such as "rgl", "rendribv", or "rendrib", which all come with the excellent BMRT backage by Larry Gritz.
If using the WinNT version of BMRT, you can specify a filename, "rgl" or "rendrib" as the argument to Begin(); and the output will be sent to a file or automatically piped to "rgl" or "rendrib" since the piping mechanism (and general functionality) of WinNTs command line parser is, uh, limited.
Download (0.080MB)
Added: 2007-04-23 License: Perl Artistic License Price:
939 downloads
stdnet 0.04
stdnet is a simple C++ framework for building single-threaded or multi-threaded applications which deal with I/O events. more>>
stdnet project is a simple C++ framework for building single-threaded or multi-threaded applications which deal with I/O events. The forms of I/O currently supported include TCP sockets, UDP sockets, and named pipes.
Events can also be generated through timers for handling timeout conditions. The model for the networking I/O is general and powerful such that it could be used with non-internet protocols like LAP-B etc. Also, advanced buffering and queuing classes exist but will be extended.
<<lessEvents can also be generated through timers for handling timeout conditions. The model for the networking I/O is general and powerful such that it could be used with non-internet protocols like LAP-B etc. Also, advanced buffering and queuing classes exist but will be extended.
Download (0.080MB)
Added: 2006-08-24 License: GPL (GNU General Public License) Price:
1157 downloads
ObjectivePerl 0.04
ObjectivePerl is an Objective-C style syntax and runtime for perl. more>>
ObjectivePerl is an Objective-C style syntax and runtime for perl.
SYNOPSIS
use ObjectivePerl;
@implementation MyClass
{
$someInstanceVariable;
@private: $privateInstanceVariable;
@protected: $normalInstanceVariable, $anotherInstanceVariable;
}
+ new {
return ~[$super new];
}
- setSomeInstanceVariable: $value {
$someInstanceVariable = $value;
}
- someInstanceVariable {
return $someInstanceVariable;
}
@end
then, from a calling script or class:
use ObjectivePerl;
...
my $instance = ~[MyClass new];
~[$instance setSomeInstanceVariable: "Hey you!"];
print ~[$instance someInstanceVariable]."n";
ObjectivePerl adds obj-c style syntax (although its implemented with ~[] instead of just []) along with an obj-c style runtime that is very lightweight but makes the perl runtime a little more friendly to obj-c programmers.
Why, you ask? Just because. Obj-c has the easiest-to-read syntax of just about any language. It has Smalltalk-style named arguments that are built into the method signature, so when you invoke those methods, youre forced to invoke them neatly, in a very legible fashion:
~[$window setTitleTo:"New window" withColor:0xffffff
andBackground:0x000000];
can never be misunderstood, whereas
$window->setTitle("New window", 0xffffff, 0x00000);
could be. Perl offers named arguments already in the form of hashes, but these are unwieldy (to an obj-c programmer).
<<lessSYNOPSIS
use ObjectivePerl;
@implementation MyClass
{
$someInstanceVariable;
@private: $privateInstanceVariable;
@protected: $normalInstanceVariable, $anotherInstanceVariable;
}
+ new {
return ~[$super new];
}
- setSomeInstanceVariable: $value {
$someInstanceVariable = $value;
}
- someInstanceVariable {
return $someInstanceVariable;
}
@end
then, from a calling script or class:
use ObjectivePerl;
...
my $instance = ~[MyClass new];
~[$instance setSomeInstanceVariable: "Hey you!"];
print ~[$instance someInstanceVariable]."n";
ObjectivePerl adds obj-c style syntax (although its implemented with ~[] instead of just []) along with an obj-c style runtime that is very lightweight but makes the perl runtime a little more friendly to obj-c programmers.
Why, you ask? Just because. Obj-c has the easiest-to-read syntax of just about any language. It has Smalltalk-style named arguments that are built into the method signature, so when you invoke those methods, youre forced to invoke them neatly, in a very legible fashion:
~[$window setTitleTo:"New window" withColor:0xffffff
andBackground:0x000000];
can never be misunderstood, whereas
$window->setTitle("New window", 0xffffff, 0x00000);
could be. Perl offers named arguments already in the form of hashes, but these are unwieldy (to an obj-c programmer).
Download (0.016MB)
Added: 2007-06-22 License: Perl Artistic License Price:
854 downloads
GTestRunner 0.04
GTestRunner is a GTK+-based graphical frontend for running unit tests in Perl. more>>
GTestRunner is a Gtk+ based testrunner module for Perl, inspired by JUnit, but with a slightly different user interface and functionality.
If you were not satisfied with the Tk based graphical frontend that ships with Test-Unit, then GTestRunner is probably the tool of choice when you want to do test driven development in Perl.
It also offers some improvements over the other test runner modules that ship with Test-Unit. You can browse through the tree of test suites, and select individual test suites, test cases and even individual tests to run.
You can use this module in two different ways. Most users will just want to run the script "gtestrunner" to run their test suites. If you want to integrate unit testing into your own software, you will probably use the module Test::Unit::GTestRunner.
Some stupid test suites and test cases are included with this package. Try
gtestrunner Suites/TS_TopLevel.pm
or
gtestrunner Suites::TS_TopLevel
to see gtestrunner in action. The test suites fails five times, and you have probably guessed that this is intentionally, so that you can see all features.
GTestRunner is fully internationalized. See the file README-NLS for details. See the file TRANSLATIONS for information about the currently available languages. Feel free to contact the author if you want to contribute a translation for your own native langauge.
<<lessIf you were not satisfied with the Tk based graphical frontend that ships with Test-Unit, then GTestRunner is probably the tool of choice when you want to do test driven development in Perl.
It also offers some improvements over the other test runner modules that ship with Test-Unit. You can browse through the tree of test suites, and select individual test suites, test cases and even individual tests to run.
You can use this module in two different ways. Most users will just want to run the script "gtestrunner" to run their test suites. If you want to integrate unit testing into your own software, you will probably use the module Test::Unit::GTestRunner.
Some stupid test suites and test cases are included with this package. Try
gtestrunner Suites/TS_TopLevel.pm
or
gtestrunner Suites::TS_TopLevel
to see gtestrunner in action. The test suites fails five times, and you have probably guessed that this is intentionally, so that you can see all features.
GTestRunner is fully internationalized. See the file README-NLS for details. See the file TRANSLATIONS for information about the currently available languages. Feel free to contact the author if you want to contribute a translation for your own native langauge.
Download (0.040MB)
Added: 2006-05-13 License: GPL (GNU General Public License) Price:
1259 downloads
HTTunnel 0.04
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl. more>>
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl.
To install this module do the following:
perl Makefile.PL
make
make test
make install
Note 1: The test suite will require the URL to an Apache::HTTunnel server to run. You will prompted for it during the installation. This server must allow tunnels to localhost:80. That Apache server must also return an HTTP 200 code for a "GET / HTTP/1.0" request.
Generally if the server has index.html file in the document root it will be ok.
<<lessTo install this module do the following:
perl Makefile.PL
make
make test
make install
Note 1: The test suite will require the URL to an Apache::HTTunnel server to run. You will prompted for it during the installation. This server must allow tunnels to localhost:80. That Apache server must also return an HTTP 200 code for a "GET / HTTP/1.0" request.
Generally if the server has index.html file in the document root it will be ok.
Download (0.011MB)
Added: 2006-07-03 License: Artistic License Price:
1209 downloads
VOQDM 0.04
VOQDM provides a data model for the International Virtual Observatory. more>>
VOQDM provides a data model for the International Virtual Observatory.
The Virtual Observatory Quantity Data Model (VOQDM) package is a "thing"-based data model for use with scientific and mathematical data in the International Virtual Observatory (IVO).
It is built upon the QML (Quantity Model Language) package and, in general terms, enables fast, convenient serialization/deserialization/manipulation of Quantity-based objects and documents.
An important specific application for this package is to enable the I/O of VO-catalog-based data.
<<lessThe Virtual Observatory Quantity Data Model (VOQDM) package is a "thing"-based data model for use with scientific and mathematical data in the International Virtual Observatory (IVO).
It is built upon the QML (Quantity Model Language) package and, in general terms, enables fast, convenient serialization/deserialization/manipulation of Quantity-based objects and documents.
An important specific application for this package is to enable the I/O of VO-catalog-based data.
Download (0.71MB)
Added: 2007-02-13 License: LGPL (GNU Lesser General Public License) Price:
984 downloads
XML::Code 0.04
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. more>>
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module.
SYNOPSIS
my $diff = XML::Diff->new();
# to generate a diffgram of two XML files, use compare.
# $old and $new can be filepaths, XML as a string,
# XML::LibXML::Document or XML::LibXML::Element objects.
# The diffgram is a XML::LibXML::Document by default.
my $diffgram = $diff->compare(
-old => $old_xml,
-new => $new_xml,
);
# To patch an XML document, an patch. $old and $diffgram
# follow the same formatting rules as compare.
# The resulting XML is a XML::LibXML::Document by default.
my $patched = $diff->patch(
-old => $old,
-diffgram => $diffgram,
);
This module provides methods for generating and applying an XML diffgram of two related XML files. The basis of the algorithm is tree-wise comparison using the DOM model as provided by XML::LibXML.
The Diffgram is well-formed XML in the XVCS namespance and supports update, insert, delete and move operations. It is meant to be human and machine readable. It uses XPath expressions for locating the nodes to operate on.
<<lessSYNOPSIS
my $diff = XML::Diff->new();
# to generate a diffgram of two XML files, use compare.
# $old and $new can be filepaths, XML as a string,
# XML::LibXML::Document or XML::LibXML::Element objects.
# The diffgram is a XML::LibXML::Document by default.
my $diffgram = $diff->compare(
-old => $old_xml,
-new => $new_xml,
);
# To patch an XML document, an patch. $old and $diffgram
# follow the same formatting rules as compare.
# The resulting XML is a XML::LibXML::Document by default.
my $patched = $diff->patch(
-old => $old,
-diffgram => $diffgram,
);
This module provides methods for generating and applying an XML diffgram of two related XML files. The basis of the algorithm is tree-wise comparison using the DOM model as provided by XML::LibXML.
The Diffgram is well-formed XML in the XVCS namespance and supports update, insert, delete and move operations. It is meant to be human and machine readable. It uses XPath expressions for locating the nodes to operate on.
Download (0.017MB)
Added: 2006-09-14 License: Perl Artistic License Price:
1138 downloads
Shell::Parser 0.04
Shell::Parser is a simple shell script parser. more>>
Shell::Parser is a simple shell script parser.
SYNOPSIS
use Shell::Parser;
my $parser = new Shell::Parser syntax => bash, handlers => {
};
$parser->parse(...);
$parser->eof;
This module implements a rudimentary shell script parser in Perl. It was primarily written as a backend for Syntax::Highlight::Shell, in order to simplify the creation of the later.
<<lessSYNOPSIS
use Shell::Parser;
my $parser = new Shell::Parser syntax => bash, handlers => {
};
$parser->parse(...);
$parser->eof;
This module implements a rudimentary shell script parser in Perl. It was primarily written as a backend for Syntax::Highlight::Shell, in order to simplify the creation of the later.
Download (0.017MB)
Added: 2007-04-06 License: Perl Artistic License Price:
934 downloads
Linux LiveCD Router 2.0.24
Linux LiveCD Router is a Linux distribution designed to share a broadband connection over WiFi. more>>
Linux LiveCD Router project allows you to share and firewall your broadband connection and use WIFI.
You can use DSL, ADSL, Cable Modem, T1, Fixed IPs, Dial-Up, WIFI, build you own Access Point and more.
Main features:
- Share and Firewall your broadband or dedicated Internet connection
- Includes Firewall Shorewall and Masquerading (NAT)
- Does not require any installation. It is a LiveCD, your computer simply boots straight from the CD. Does not require a hard disk
- Supports DSL, Cablemodem, Fixed IP and Dial-Up
- Traffic Control, QoS
- DHCP Client and Server
- Remote SSH administration
- Includes DNS Cache to accelerate surfing
- Includes SNMP Monitoring, MRTG graphical statistics
- Use standard and low cost computer, networking and wifi hardware (also USB)
- Can use multiple ethernet and wifi 802.11a/b/g cards. Supports PCI, USB and PCMCIA cards (can replace external Access Points!)
- Linux Software compatible with Windows and Mac Networks
<<lessYou can use DSL, ADSL, Cable Modem, T1, Fixed IPs, Dial-Up, WIFI, build you own Access Point and more.
Main features:
- Share and Firewall your broadband or dedicated Internet connection
- Includes Firewall Shorewall and Masquerading (NAT)
- Does not require any installation. It is a LiveCD, your computer simply boots straight from the CD. Does not require a hard disk
- Supports DSL, Cablemodem, Fixed IP and Dial-Up
- Traffic Control, QoS
- DHCP Client and Server
- Remote SSH administration
- Includes DNS Cache to accelerate surfing
- Includes SNMP Monitoring, MRTG graphical statistics
- Use standard and low cost computer, networking and wifi hardware (also USB)
- Can use multiple ethernet and wifi 802.11a/b/g cards. Supports PCI, USB and PCMCIA cards (can replace external Access Points!)
- Linux Software compatible with Windows and Mac Networks
Download (MB)
Added: 2007-06-20 License: GPL (GNU General Public License) Price:
888 downloads
Other version of Linux LiveCD Router
License:GPL (GNU General Public License)
SWISH::HiLiter 0.04
SWISH::HiLiter is a simple Perl interface to SWISH::API and HTML::HiLiter. more>>
SWISH::HiLiter is a simple Perl interface to SWISH::API and HTML::HiLiter.
SYNOPSIS
my $query = "foo OR bar";
require SWISH::API;
my $swish = SWISH::API->new( my_index );
require SWISH::HiLiter;
# create an object
my $hiliter = SWISH::HiLiter->new( swish=>$swish, query=>$query );
# search and display highlighted results
my $results = $swish->Query( $query );
while ( my $result = $results->NextResult ) {
my $path = $result->Property( "swishdocpath" );
my $title = $hiliter->light(
$result->Property( "swishtitle" )
);
my $snip = $hiliter->light(
$hiliter->snip(
$result->Property( "swishdescription" )
)
);
my $rank = $result->Property( "swishrank" );
my $file = $result->Property( "swishreccount" );
print join("n", $file, $path, $title, $rank, $snip );
}
SWISH::HiLiter is a simple interface to the HTML::HiLiter module. It is designed to work specifically with the SWISH::API module for searching SWISH indexes and displaying snippets of highlighted text from the stored SWISH properties.
SWISH::HiLiter is NOT a drop-in replacement for the highlighting modules that come with the SWISH-E distribution. Instead, it is intended to be used when programming with SWISH::API.
<<lessSYNOPSIS
my $query = "foo OR bar";
require SWISH::API;
my $swish = SWISH::API->new( my_index );
require SWISH::HiLiter;
# create an object
my $hiliter = SWISH::HiLiter->new( swish=>$swish, query=>$query );
# search and display highlighted results
my $results = $swish->Query( $query );
while ( my $result = $results->NextResult ) {
my $path = $result->Property( "swishdocpath" );
my $title = $hiliter->light(
$result->Property( "swishtitle" )
);
my $snip = $hiliter->light(
$hiliter->snip(
$result->Property( "swishdescription" )
)
);
my $rank = $result->Property( "swishrank" );
my $file = $result->Property( "swishreccount" );
print join("n", $file, $path, $title, $rank, $snip );
}
SWISH::HiLiter is a simple interface to the HTML::HiLiter module. It is designed to work specifically with the SWISH::API module for searching SWISH indexes and displaying snippets of highlighted text from the stored SWISH properties.
SWISH::HiLiter is NOT a drop-in replacement for the highlighting modules that come with the SWISH-E distribution. Instead, it is intended to be used when programming with SWISH::API.
Download (0.012MB)
Added: 2006-12-04 License: Perl Artistic License Price:
1055 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 router 0.04 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