Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.542.216 Times

File::Flock 104.111901

  Date Added: January 17, 2010  |  Visits: 798

File::Flock

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



File::Flock is a Perl module for file locking with flock. SYNOPSIS use File::Flock; lock($filename); lock($filename, shared); lock($filename, undef, nonblocking); lock($filename, shared, nonblocking); unlock($filename); my $lock = new File::Flock /somefile; lock_rename($oldfilename, $newfilename) Lock files using the flock() call. If the file to be locked does not exist, then the file is created. If the file was created then it will be removed when it is unlocked assuming its still an empty file. Locks can be created by newing a File::Flock object. Such locks are automatically removed when the object goes out of scope. The unlock() method may also be used. lock_rename() is used to tell File::Flock when a file has been renamed (and thus the internal locking data that is stored based on the filename should be moved to a new name). unlock() the new name rather than the original name..

Requirements: No special requirements
Platforms: Linux
Keyword: File File Locking Fileflock Filename Libraries Lock Locking Module Perl Perl Module Programming
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


FILE::FLOCK RELATED
Libraries  -  File::Basename 5.8.8
File::Basename is a Perl module to parse file paths into directory, filename and suffix. SYNOPSIS use File::Basename; ($name,$path,$suffix) = fileparse($fullname,@suffixlist); $name = fileparse($fullname,@suffixlist); $basename =...
12.2 MB  
Libraries  -  File::LockDir 0.01
File::LockDir is a Perl basic filename-level lock utility. SYNOPSIS use File::LockDir; INTERFACE new Initializes the class. Returns the singleton object. nflock($file, $nap_till, $locker, $lockhost) Locks the supplied filename. Only...
6.14 KB  
Libraries  -  File::Spec::Link 0.080
File::Spec::Link is a Perl extension for reading and resolving symbolic links. SYNOPSIS use File::Spec::Link; my $file = File::Spec::Link->linked($link); my $file = File::Spec::Link->resolve($link); my $dirname =...
7.17 KB  
Libraries  -  Audio::File 0.10
Audio::File is a audio file abstraction library. SYNOPSIS use Audio::File; my $file = Audio::File->new( "foo.bar" ); print "The ". $file->type() ."-file ". $file->name ." is ". int $file->length() ." seconds long.n"; print "Its...
74.75 KB  
Libraries  -  File::Remote 1.17
File::Remote is a Perl module to read/write/edit remote files transparently. SYNOPSIS # # Two ways to use File::Remote # # First, the function-based style. Here, we can use the # special :replace tag to overload Perl builtins! # use...
15.36 KB  
Libraries  -  File::Basename::Object 0.01
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename. SYNOPSIS my $file = File::Basename::Object->new("/path/to/a/file.html", ".htm", ".html"); if(open(my $fh, <, $file)) { print "Now reading ",...
4.1 KB  
Backup Utilities  -  Binary Clock 2.5
Binary Clock is a gadget that will add to your desktop or Sidebar a binary clock. This is a clock displays the current time in binary notation. Save settings to file. (File will be created - Path: %APPDATA% Filename: gadgetname_Settings.ini)....
319 KB  
Database Tools  -  VINDOZO: MYSQL-COPY 1.1
Copy all tables MYSQL Database FROM: MYSQL-Server, HTTP-Path file or Upload file dump TO: MYSQL-Server, One file, File-parts dump. Advanced statistics.Improved stability. Multiuser. Report to file. No limit database size. Convert Charset. Only one...
10 KB  
Libraries  -  Java::JCR::Lock 0.08
Java::JCR::Lock is a Perl module that can load JCR lock extension wrappers. SYNOPSIS use Java::JCR::Lock This loads the Perl classes mapped to the Java package named javax.jcr.lock. Installation: Installation can be a bit tricky because...
48.13 KB  
Libraries  -  Getopt::Euclid 0.1.0
Getopt::Euclid is Perl module executable uniform command-Line interface descriptions. SYNOPSIS use Getopt::Euclid; if ($ARGV{-i}) { print "Interactive mode...n"; } for my $x (0..$ARGV{-size}{h}-1) { for my $y (0..$ARGV{-size}{w}-1) {...
24.58 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB