Main > Programming > Libraries >

Web 1.35

Web 1.35

Sponsored Links

Web 1.35 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.017 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 837
Date added: 2007-07-21
Publisher: Wolfgang Wiese

Web 1.35 description

Web Perl module contains a set of useful routines for many webworking purposes.

This module was primarily made for UNIX/Linux-Systems. Parts of it cannot be used on other systems. E.g. the procedures for file locking demand systems that can use symlinks. If you use the modul on systems where symlinks cannot be used, fatal errors may happen.

ABSTRACT

This perl module serves users with several useful routines for many purposes, like generating webpages, processing CGI scripts, working with XML datafiles and net-connections. It also uses own variants of routines, that was invented first in the famous libraries CGI.pm and cgi-lib.pl.

INSTALLATION

If you dont have sufficient privileges to install web.pm in the Perl library directory, you can put web.pm into some convenient spot, such as your home directory, or in cgi-bin itself and prefix all Perl scripts that call it with something along the lines of the following preamble:

use lib /home/myname/perl/lib;
use web;

NLock

This routine allows to set a filelock across NFS-boundaries. The common used perl-routine flock() fails at this point, so this routine is a useable alternative for bigger file-systems. It uses the modular functions link() and unlink() to mark a file locked. In addition to this, it also gives the locked file a counter: A file that is locked for more than $web::MAX_LOCKTIME seconds will be freed by the next process that calls NLock() on this file. A calling process gets either 0 or 1 as a return value, where 1 is returned if the file-locking was successful. 0 is returned only if the process waits for more than $web::MAX_WAITLOCK seconds or if symlink() fails.

Example 1:

$filename = "data.txt";
NLock($filename);
open(f1,"$filename");
# do something
close f1;
NUnlock($filename);

Example 2:

#!/local/bin/perl5
use web;

$stat= &NLock("jump.pl");
print "Lock: stat= $statn";
$stat= &NLock("jump.pl");
print "Lock this file again: stat= $statn";
sleep 8;
$stat= &NLock("jump.pl");
print "Lock this file again: stat= $statn";
$stat= &NUnlock("jump.pl");
print "Unlock: stat= $statn";
exit;

Web 1.35 Screenshot

Advertisements

Web 1.35 Keywords

Bookmark Web 1.35

Hyperlink code:
Link for forum:

Web 1.35 Copyright

WareSeeker periodically updates pricing and software information of Web 1.35 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Web 1.35 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
MyNews provides a Web news grabber. Free Download
Math::Complex is a Perl module with complex numbers and associated mathematical functions. Free Download
Zonestats create an RRD database with the values of CPU and memory (RSS) usage per Solaris 10 zone. Free Download
Perl OpenID is a perl module for verifying OpenID identities. Free Download
Convert::Braille is a Perl module that can convert Between Braille Encodings. Free Download
Samba::LDAP is a Perl module to manage a Samba PDC with an LDAP Backend. Free Download
DBD::ODBC::Changes is a Perl module with logs of significant changes to the DBD::ODBC. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download