similarity 1.04
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 113
WordNet::Similarity 1.04
WordNet::Similarity is a collection of Perl modules for computing measures of semantic relatedness. more>>
WordNet::Similarity is a collection of Perl modules for computing measures of semantic relatedness.
SYNOPSIS
Basic Usage Example
use WordNet::QueryData;
use WordNet::Similarity::path;
my $wn = WordNet::QueryData->new;
my $measure = WordNet::Similarity::path->new ($wn);
my $value = $measure->getRelatedness("car#n#1", "bus#n#2");
my ($error, $errorString) = $measure->getError();
die $errorString if $error;
print "car (sense 1) bus (sense 2) = $valuen";
Using a configuration file to initialize the measure
use WordNet::Similarity::path;
my $sim = WordNet::Similarity::path->new($wn, "mypath.cfg");
my $value = $sim->getRelatedness("dog#n#1", "cat#n#1");
($error, $errorString) = $sim->getError();
die $errorString if $error;
print "dog (sense 1) cat (sense 1) = $valuen";
Printing traces
print "Trace String -> ".($sim->getTraceString())."n";
Introduction
We observe that humans find it extremely easy to say if two words are related and if one word is more related to a given word than another. For example, if we come across two words, car and bicycle, we know they are related as both are means of transport. Also, we easily observe that bicycle is more related to car than fork is. But is there some way to assign a quantitative value to this relatedness? Some ideas have been put forth by researchers to quantify the concept of relatedness of words, with encouraging results.
Eight of these different measures of relatedness have been implemented in this software package. A simple edge counting measure and a random measure have also been provided. These measures rely heavily on the vast store of knowledge available in the online electronic dictionary -- WordNet. So, we use a Perl interface for WordNet called WordNet::QueryData to make it easier for us to access WordNet. The modules in this package REQUIRE that the WordNet::QueryData module be installed on the system before these modules are installed.
<<lessSYNOPSIS
Basic Usage Example
use WordNet::QueryData;
use WordNet::Similarity::path;
my $wn = WordNet::QueryData->new;
my $measure = WordNet::Similarity::path->new ($wn);
my $value = $measure->getRelatedness("car#n#1", "bus#n#2");
my ($error, $errorString) = $measure->getError();
die $errorString if $error;
print "car (sense 1) bus (sense 2) = $valuen";
Using a configuration file to initialize the measure
use WordNet::Similarity::path;
my $sim = WordNet::Similarity::path->new($wn, "mypath.cfg");
my $value = $sim->getRelatedness("dog#n#1", "cat#n#1");
($error, $errorString) = $sim->getError();
die $errorString if $error;
print "dog (sense 1) cat (sense 1) = $valuen";
Printing traces
print "Trace String -> ".($sim->getTraceString())."n";
Introduction
We observe that humans find it extremely easy to say if two words are related and if one word is more related to a given word than another. For example, if we come across two words, car and bicycle, we know they are related as both are means of transport. Also, we easily observe that bicycle is more related to car than fork is. But is there some way to assign a quantitative value to this relatedness? Some ideas have been put forth by researchers to quantify the concept of relatedness of words, with encouraging results.
Eight of these different measures of relatedness have been implemented in this software package. A simple edge counting measure and a random measure have also been provided. These measures rely heavily on the vast store of knowledge available in the online electronic dictionary -- WordNet. So, we use a Perl interface for WordNet called WordNet::QueryData to make it easier for us to access WordNet. The modules in this package REQUIRE that the WordNet::QueryData module be installed on the system before these modules are installed.
Download (0.63MB)
Added: 2007-02-28 License: Perl Artistic License Price:
968 downloads
WordNet::Similarity::PathFinder 1.04
WordNet::Similarity::PathFinder is a Perl module to implement path finding methods for WordNet::Similarity measures. more>>
WordNet::Similarity::PathFinder is a Perl module to implement path finding methods (by node counting) for WordNet::Similarity measures of semantic relatedness.
SYNOPSIS
use WordNet::QueryData;
my $wn = WordNet::QueryData->new;
use WordNet::Similarity::PathFinder;
my $obj = WordNet::Similarity::PathFinder->new ($wn);
my $result = $obj->parseWps($wps1, $wps2);
my @paths = $obj->getShortestPath("dog#n#1", "cat#n#1", "n", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getAllPaths("worship#v#1", "adore#v#1", "v", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getShortestPath("02895418", "02724985", "n", "offset");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
Introduction
This class is derived from (i.e., is a sub-class of) WordNet::Similarity.
The methods in this module are useful for finding paths between concepts in WordNets is-a taxonomies. Concept A is-a concept B if, and only if, B is a hypernym of A or A is in the hypernym tree of B. N.B., only nouns and verbs have hypernyms.
The methods that find path lengths (such as getShortestPath() and getAllPaths() compute the lengths using node-counting not edge-counting. In general, the length of a path using node-counting will always be one more than the length using edge-counting. For example, if concept A is a hyponym of concept B, then the path length between A and B using node-counting is 2, but the length using edge-counting is 1. Likewise, the path between A and A is 1 using node-counting and 0 using edge-counting.
<<lessSYNOPSIS
use WordNet::QueryData;
my $wn = WordNet::QueryData->new;
use WordNet::Similarity::PathFinder;
my $obj = WordNet::Similarity::PathFinder->new ($wn);
my $result = $obj->parseWps($wps1, $wps2);
my @paths = $obj->getShortestPath("dog#n#1", "cat#n#1", "n", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getAllPaths("worship#v#1", "adore#v#1", "v", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getShortestPath("02895418", "02724985", "n", "offset");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
Introduction
This class is derived from (i.e., is a sub-class of) WordNet::Similarity.
The methods in this module are useful for finding paths between concepts in WordNets is-a taxonomies. Concept A is-a concept B if, and only if, B is a hypernym of A or A is in the hypernym tree of B. N.B., only nouns and verbs have hypernyms.
The methods that find path lengths (such as getShortestPath() and getAllPaths() compute the lengths using node-counting not edge-counting. In general, the length of a path using node-counting will always be one more than the length using edge-counting. For example, if concept A is a hyponym of concept B, then the path length between A and B using node-counting is 2, but the length using edge-counting is 1. Likewise, the path between A and A is 1 using node-counting and 0 using edge-counting.
Download (0.63MB)
Added: 2007-08-01 License: Perl Artistic License Price:
817 downloads
Mailing List 1.04
Mailing List is a Web-based, full-featured mailing list and newsletter system. more>>
Mailing List project is a Web-based, full-featured mailing list and newsletter system. Users can subscribe and unsubscribe themselves.
Email confirmation is used for new subscriptions. The list of subscribers to a list can be imported and exported.
Installation:
- copy all files to your web host
- use phpmyadmin or your mysql interface to run site.sql against your database.
- open site.xml and edit the database section with your database details.
- go to index.php and login with username of admin with a password of test.
Setup the site.xml file with your database settings as follows.
< database type="mysql" >
< server >database server address< /server >
< login >database login< /login >
< password >database password< /password >
< default >mysql database name< /default >
< /database >
Add this to your ".htaccess" file to prevent viewing of the xml config file.
< Files ~ ".xml" >
Order allow,deny
Deny from all
Satisfy All
< /Files >
Enhancements:
- A problem with the SQL setup file which caused the setup to fail on some systems was fixed.
<<lessEmail confirmation is used for new subscriptions. The list of subscribers to a list can be imported and exported.
Installation:
- copy all files to your web host
- use phpmyadmin or your mysql interface to run site.sql against your database.
- open site.xml and edit the database section with your database details.
- go to index.php and login with username of admin with a password of test.
Setup the site.xml file with your database settings as follows.
< database type="mysql" >
< server >database server address< /server >
< login >database login< /login >
< password >database password< /password >
< default >mysql database name< /default >
< /database >
Add this to your ".htaccess" file to prevent viewing of the xml config file.
< Files ~ ".xml" >
Order allow,deny
Deny from all
Satisfy All
< /Files >
Enhancements:
- A problem with the SQL setup file which caused the setup to fail on some systems was fixed.
Download (0.18MB)
Added: 2006-07-27 License: GPL (GNU General Public License) Price:
1186 downloads
xmlformat 1.04
xmlformat is a configurable formatter (or pretty-printer) for XML documents. more>>
xmlformat is a configurable formatter (or "pretty-printer") for XML documents. xmlformat gives the user control over indentation, line-breaking, and text wrapping. These properties can be defined on a per-element basis.
Enhancements:
- Each token is now assigned an input line number, which is displayed in error messages.
- This provides better information to the user about the location of problems in input files.
- The token stack is now printed when an error occurs.
- This provides some idea of the context of the element that is malformed or has malformed content.
<<lessEnhancements:
- Each token is now assigned an input line number, which is displayed in error messages.
- This provides better information to the user about the location of problems in input files.
- The token stack is now printed when an error occurs.
- This provides some idea of the context of the element that is malformed or has malformed content.
Download (0.15MB)
Added: 2006-08-17 License: BSD License Price:
1163 downloads
CLSimilarImages 0.4.1
CLSimilarImages is a command-line utility for finding visually similar images which may not be identical. more>>
CLSimilarImages is a command-line utility for finding visually similar images which may not be identical. It reads filenames from standard input, and outputs customisable results to standard output.
It can write similarity data to files for rapid future comparisons, with timestamps for quick updates. The project can compare one collection of images with itself, or two collections with each other. It works well in scripts or with pipes.
<<lessIt can write similarity data to files for rapid future comparisons, with timestamps for quick updates. The project can compare one collection of images with itself, or two collections with each other. It works well in scripts or with pipes.
Download (0.13MB)
Added: 2007-03-24 License: GPL (GNU General Public License) Price:
945 downloads
WordNet::Similarity::vector_pairs 1.04
WordNet::Similarity::vector_pairs is a Perl module for computing semantic relatedness of word senses. more>> <<less
Download (0.63MB)
Added: 2007-08-18 License: GPL (GNU General Public License) Price:
798 downloads
WordNet::Similarity::Visual 0.07
WordNet::Similarity::Visual is a Perl extension for providing visualization tools for WordNet::Similarity. more>>
WordNet::Similarity::Visual is a Perl extension for providing visualization tools for WordNet::Similarity.
SYNOPSIS
Basic Usage Example
use WordNet::Similarity::Visual;
$gui = WordNet::Similarity::Visual->new;
$gui->initialize;
This package provides a graphical extension for WordNet::Similarity. It provides a gui for WordNet::Similarity and visualization tools for the various edge counting measures like path, wup, lch and hso.
<<lessSYNOPSIS
Basic Usage Example
use WordNet::Similarity::Visual;
$gui = WordNet::Similarity::Visual->new;
$gui->initialize;
This package provides a graphical extension for WordNet::Similarity. It provides a gui for WordNet::Similarity and visualization tools for the various edge counting measures like path, wup, lch and hso.
Download (0.019MB)
Added: 2007-04-07 License: Perl Artistic License Price:
560 downloads
glastree 1.04
glastree builds live backup trees. more>>
glastree application builds live backup trees, with branches for each day. Users directly browse the past to recover older documents or retrieve lost files. Hard links serve to compress out unchanged files, while modified ones are copied verbatim. A prune utility effects a constant, sliding window.
<<less Download (0.006MB)
Added: 2007-06-11 License: Public Domain Price:
865 downloads
MiniRacer 1.04
MiniRacer is an OpenGL car racing game, based on IDs famous Quake engine. more>>
MiniRacer is an OpenGL car racing game, based on IDs famous Quake engine.
The goal of this project is, to port the original game, which was written for Win32, to Linux.
Further we want to add new features and make some redesign of the old project.
MiniRacer is Free Software. Its source code is licensed under the terms of the GPL.
Enhancements:
- With this release we have a fully supported version for Linux.
- It fixes many nasty bugs in the graphics engine, especially crashes on ATI hardware.
- We also have a dedicated server mode now.
- Most sounds and graphics are replaced.
- An important thing is that were now able to build maps, even on Linux: We added some example maps and entities for GtkRadiant to the current release.
<<lessThe goal of this project is, to port the original game, which was written for Win32, to Linux.
Further we want to add new features and make some redesign of the old project.
MiniRacer is Free Software. Its source code is licensed under the terms of the GPL.
Enhancements:
- With this release we have a fully supported version for Linux.
- It fixes many nasty bugs in the graphics engine, especially crashes on ATI hardware.
- We also have a dedicated server mode now.
- Most sounds and graphics are replaced.
- An important thing is that were now able to build maps, even on Linux: We added some example maps and entities for GtkRadiant to the current release.
Download (7.2MB)
Added: 2005-08-17 License: GPL (GNU General Public License) Price:
854 downloads
Klicker 1.04
Klicker is a KDE/QT based metronome. more>>
Klicker project is a KDE/QT based metronome that supports from 30 to 208 beats per minute, duple, tuple, and quartal time, and it also has DCOP interfaces for interprocess control.
<<less Download (2.5MB)
Added: 2006-01-23 License: GPL (GNU General Public License) Price:
1396 downloads
GMail::Checker 1.04
GMail::Checker is a Perl wrapper for Gmail accounts. more>>
GMail::Checker is a Perl wrapper for Gmail accounts.
SYNOPSIS
use GMail::Checker;
my $gwrapper = new GMail::Checker();
my $gwrapper = new GMail::Checker(USERNAME => "username", PASSWORD => "password");
# Lets log into our account (using SSL)
$gwrapper->login("username","password");
# Get the number of messages in the maildrop & their total size
my ($nb, $size) = $gwrapper->get_msg_nb_size();
# Do we have new messages ?
my $alert = $gwrapper->get_pretty_nb_messages(ALERT => "TOTAL_MSG");
# Get the headers for a specific message (defaults to last message)
my @headers = $gwrapper->get_msg_headers(HEADERS => "FULL", MSG => 74);
# Get a message size
my ($msgnb, $msgsize) = $gwrapper->get_msg_size(MSG => 42);
# Retrieve a specific message
my @msg = $gwrapper->get_msg(MSG => 23);
print $msg[0]->{content}, "n";
print $msg[0]->{body};
# Retrieve UIDL for a message
my @uidl = $gwrapper->get_uidl(MSG => 10);
This module provides a wrapper that allows you to perform major operations on your gmail account.
You may create a notifier to know about new incoming messages, get information about a specific e-mail, retrieve your mails using the POP3 via SSL interface.
<<lessSYNOPSIS
use GMail::Checker;
my $gwrapper = new GMail::Checker();
my $gwrapper = new GMail::Checker(USERNAME => "username", PASSWORD => "password");
# Lets log into our account (using SSL)
$gwrapper->login("username","password");
# Get the number of messages in the maildrop & their total size
my ($nb, $size) = $gwrapper->get_msg_nb_size();
# Do we have new messages ?
my $alert = $gwrapper->get_pretty_nb_messages(ALERT => "TOTAL_MSG");
# Get the headers for a specific message (defaults to last message)
my @headers = $gwrapper->get_msg_headers(HEADERS => "FULL", MSG => 74);
# Get a message size
my ($msgnb, $msgsize) = $gwrapper->get_msg_size(MSG => 42);
# Retrieve a specific message
my @msg = $gwrapper->get_msg(MSG => 23);
print $msg[0]->{content}, "n";
print $msg[0]->{body};
# Retrieve UIDL for a message
my @uidl = $gwrapper->get_uidl(MSG => 10);
This module provides a wrapper that allows you to perform major operations on your gmail account.
You may create a notifier to know about new incoming messages, get information about a specific e-mail, retrieve your mails using the POP3 via SSL interface.
Download (0.007MB)
Added: 2007-04-19 License: Perl Artistic License Price:
920 downloads
MEsmtpd 1.04
MEsmtpd provides a small SMTP Daemon with From-header rewrite and SMTP-Auth. more>>
MEsmtpd provides a small SMTP Daemon with From-header rewrite and SMTP-Auth.
The main features of MEsmtpd are SMTP-Auth (RFC 2554) and rewriting the From: header (email body From: header and envelope from) based on an account-list (configuration file and auth data).
Some big companies dont allow plain SMTP because the From header (sender) is fakeable by the sender. Many companies use MAPI (MS Exchange) to solve this problem.
The alternative open source solution is MEsmtpd. It is an independent extension to sendmail, postfix or qmail.
Enhancements:
- added smtp Reset. Thanks to Paul!
<<lessThe main features of MEsmtpd are SMTP-Auth (RFC 2554) and rewriting the From: header (email body From: header and envelope from) based on an account-list (configuration file and auth data).
Some big companies dont allow plain SMTP because the From header (sender) is fakeable by the sender. Many companies use MAPI (MS Exchange) to solve this problem.
The alternative open source solution is MEsmtpd. It is an independent extension to sendmail, postfix or qmail.
Enhancements:
- added smtp Reset. Thanks to Paul!
Download (0.005MB)
Added: 2007-03-16 License: GPL (GNU General Public License) Price:
954 downloads
FireBug 1.04
FireBug is a Firefox extension that allows you to explore the far corners of the DOM by keyboard or mouse. more>>
FireBug is a Firefox extension that allows you to explore the far corners of the DOM by keyboard or mouse.
All of the tools you need to poke, prod, and monitor your JavaScript, CSS, HTML and Ajax are brought together into one seamless experience, including a debugger, an error console, command line, and a variety of fun inspectors.
Main features:
- JavaScript debugger for stepping through code one line at a time
- Status bar icon shows you when there is an error in a web page
- A console that shows errors from JavaScript and CSS
- Log messages from JavaScript in your web page to the console (bye bye "alert debugging")
- An JavaScript command line (no more "javascript:" in the URL bar)
- Spy on XMLHttpRequest traffic
- Inspect HTML source, computed style, events, layout and the DOM
<<lessAll of the tools you need to poke, prod, and monitor your JavaScript, CSS, HTML and Ajax are brought together into one seamless experience, including a debugger, an error console, command line, and a variety of fun inspectors.
Main features:
- JavaScript debugger for stepping through code one line at a time
- Status bar icon shows you when there is an error in a web page
- A console that shows errors from JavaScript and CSS
- Log messages from JavaScript in your web page to the console (bye bye "alert debugging")
- An JavaScript command line (no more "javascript:" in the URL bar)
- Spy on XMLHttpRequest traffic
- Inspect HTML source, computed style, events, layout and the DOM
Download (0.29MB)
Added: 2007-04-09 License: MPL (Mozilla Public License) Price:
1573 downloads
Test::MockClass 1.04
Test::MockClass is a Perl module to provide mock classes and mock objects for testing. more>>
Test::MockClass is a Perl module to provide mock classes and mock objects for testing.
SYNOPSIS
# Pass in the class name and version that you want to mock
use Test::MockClass qw{ClassToMock 1.1};
# create a MockClass object to handle a specific class
my $mockClass = Test::MockClass->new(ClassToMock);
# specify to inherit from a real class, or a mocked class:
$mockClass->inheritFrom(IO::Socket);
# make a constructor for the class, can also use addMethod for more control
$mockClass->defaultConstructor(%classWideDefaults);
# add a method:
$mockClass->addMethod(methodname, $coderef);
# add a simpler method, and specify return values that it will return automatically
$mockClass->setReturnValues(methodname2, always, 3);
# create an instance of the mocked class:
my $mockObject = $mockClass->create(%instanceData);
# set the desired call order for the methods:
$mockClass->setCallOrder(methodname2, methodname, methodname);
# run tests using the mock Class elsewhere:
#:in the class to test:
sub objectFactory {
return ClassToMock->new;
}
#:in your test code:
assert($testObj->objectFactory->isa("ClassToMock"));
# get the object Id for the rest of the methods:
my $objectId = "$mockObject";
#or
$objectId = $mockClass->getNextObjectId();
# verify that the methods were called in the correct order:
if($mockClass->verifyCallOrder($objectId)) {
# do something
}
# get the order that the methods were called:
my @calls = $mockClass->getCallOrder($objectId);
# get the list of arguments passed per call:
my @argList = $mockClass->getArgumentList($objectId, methodname, $callPosition);
# get the list of accesses made to a particular attribute (hashkey in $mockObject)
my @accesses = $mockClass->getAttributeAccess($objectId, attribute);
<<lessSYNOPSIS
# Pass in the class name and version that you want to mock
use Test::MockClass qw{ClassToMock 1.1};
# create a MockClass object to handle a specific class
my $mockClass = Test::MockClass->new(ClassToMock);
# specify to inherit from a real class, or a mocked class:
$mockClass->inheritFrom(IO::Socket);
# make a constructor for the class, can also use addMethod for more control
$mockClass->defaultConstructor(%classWideDefaults);
# add a method:
$mockClass->addMethod(methodname, $coderef);
# add a simpler method, and specify return values that it will return automatically
$mockClass->setReturnValues(methodname2, always, 3);
# create an instance of the mocked class:
my $mockObject = $mockClass->create(%instanceData);
# set the desired call order for the methods:
$mockClass->setCallOrder(methodname2, methodname, methodname);
# run tests using the mock Class elsewhere:
#:in the class to test:
sub objectFactory {
return ClassToMock->new;
}
#:in your test code:
assert($testObj->objectFactory->isa("ClassToMock"));
# get the object Id for the rest of the methods:
my $objectId = "$mockObject";
#or
$objectId = $mockClass->getNextObjectId();
# verify that the methods were called in the correct order:
if($mockClass->verifyCallOrder($objectId)) {
# do something
}
# get the order that the methods were called:
my @calls = $mockClass->getCallOrder($objectId);
# get the list of arguments passed per call:
my @argList = $mockClass->getArgumentList($objectId, methodname, $callPosition);
# get the list of accesses made to a particular attribute (hashkey in $mockObject)
my @accesses = $mockClass->getAttributeAccess($objectId, attribute);
Download (0.014MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 downloads
WebFS::FileCopy 1.04
WebFS::FileCopy is a Perl module to get, put, move, copy, and delete files located by URIs. more>>
WebFS::FileCopy is a Perl module to get, put, move, copy, and delete files located by URIs.
SYNOPSIS
use WebFS::FileCopy;
my @res = get_urls(ftp://www.perl.com, http://www.netscape.com);
print $res[0]->content if $res[0]->is_success;
# Get content from pages requiring basic authentication.
my $req = LWP::Request->new(GET => http://www.dummy.com/);
$req->authorization_basic(my_username, my_password);
@res = get_urls($req);
put_urls(put this text, ftp://ftp/incoming/new, file:/tmp/NEW);
move_url(file:/tmp/NEW, ftp://ftp/incoming/NEW.1);
delete_urls(ftp://ftp/incoming/NEW.1, file:/tmp/NEW);
copy_url(http://www.perl.com/index.html, ftp://ftp.host/outgoing/SIG);
copy_urls([file:/tmp/file1, http://www.perl.com/index.html],
[file:/tmp/DIR1/, file:/tmp/DIR2, ftp://ftp/incoming/]);
my @list1 = list_url(file:/tmp);
my @list2 = list_url(ftp://ftp/outgoing/);
This package provides some simple routines to read, move, copy, and delete files as references by string URLs, URI objects or URIs embedded in HTTP::Reqeust or LWP::Request objects. All subroutines in this package that expect a URI will accept a string, a URI object, or a HTTP::Reqeust or LWP::Request with an embedded URI. If passed a HTTP::Request or LWP::Request, then the method of the object is ignored and the proper method will be used to either GET or PUT the requested UIR.
The distinction between files and directories in a URI is tested by looking for a trailing / in the path. If a trailing / exists, then the URI is considered to point to a directory, otherwise it is a file.
All of the following subroutines are exported to the users namespace automatically. If you do not want this, then require this package instead of useing it.
<<lessSYNOPSIS
use WebFS::FileCopy;
my @res = get_urls(ftp://www.perl.com, http://www.netscape.com);
print $res[0]->content if $res[0]->is_success;
# Get content from pages requiring basic authentication.
my $req = LWP::Request->new(GET => http://www.dummy.com/);
$req->authorization_basic(my_username, my_password);
@res = get_urls($req);
put_urls(put this text, ftp://ftp/incoming/new, file:/tmp/NEW);
move_url(file:/tmp/NEW, ftp://ftp/incoming/NEW.1);
delete_urls(ftp://ftp/incoming/NEW.1, file:/tmp/NEW);
copy_url(http://www.perl.com/index.html, ftp://ftp.host/outgoing/SIG);
copy_urls([file:/tmp/file1, http://www.perl.com/index.html],
[file:/tmp/DIR1/, file:/tmp/DIR2, ftp://ftp/incoming/]);
my @list1 = list_url(file:/tmp);
my @list2 = list_url(ftp://ftp/outgoing/);
This package provides some simple routines to read, move, copy, and delete files as references by string URLs, URI objects or URIs embedded in HTTP::Reqeust or LWP::Request objects. All subroutines in this package that expect a URI will accept a string, a URI object, or a HTTP::Reqeust or LWP::Request with an embedded URI. If passed a HTTP::Request or LWP::Request, then the method of the object is ignored and the proper method will be used to either GET or PUT the requested UIR.
The distinction between files and directories in a URI is tested by looking for a trailing / in the path. If a trailing / exists, then the URI is considered to point to a directory, otherwise it is a file.
All of the following subroutines are exported to the users namespace automatically. If you do not want this, then require this package instead of useing it.
Download (0.022MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 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 similarity 1.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