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 32.287.453 Times

File::Revision 0.03

  Date Added: February 05, 2010  |  Visits: 789

File::Revision

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)

File::Revision is a Perl module to return a name of non-existing backup file with a revision id. SYNOPSIS ####### # Subroutine interface # use File::Revision qw(new_revision num2revision parse_options revision2num revision_file rotate); ($file_name, $next_revsion) = new_revision($file, @options); ($file_name, $next_revsion) = new_revision($file, @options); ($file_name, $next_revsion) = new_revision($file, %options); $revision_letter = num2revision($revision_number); $options = parse_options($file, @options); $options = parse_options($file, @options); $options = parse_options($file, %options); $revision_number = revision2num($revision_letter; $file_name = revision_file($revision_number, $options); $file_name = rotate($file, @options); $file_name = rotate($file, @options); $file_name = rotate($file, %options); ####### # Object interface # $self = File::Revision; # or $self = new $class; # where $class::@ISA contains File::Revision ($file_name, $next_revsion) = $self->new_revision($file, @options); ($file_name, $next_revsion) = $self->new_revision($file, @options); ($file_name, $next_revsion) = $self->new_revision($file, %options); $revision_letter = $self->num2revision($revision_number); $options = $self->parse_options($file, @options); $options = $self->parse_options($file, @options); $options = $self->parse_options($file, %options); $revision_number = $self->revision2num($revision_letter; $file_name = $self->revision_file($revision_number, $options); $file_name = $self->rotate($file, @options); $file_name = $self->rotate($file, @options); $file_name = $self->rotate($file, %options); The File::Revision program modules provides the name of a non-existing file with a revision identifier based on the a file name $file. This has many uses backup file uses. There are no restrictions on the number of backup files or the time to live of the backup files. A typical use would be to create a backup file for If the revised file passes does not pass all validity checks, use the backup file to replace or repair the revised file. This minimizes loses import data when revising files. Better yet, create a temporary file, using one of the temp file name program modules. Revise the temp file. Once it passes all valitity checks, rename the original file to the backup file and rename the temp file to the original file. This allows full use of the original file until a validated revison is ready to replace it. The File::Revision program module also supports limiting the backup files and delete the oldest once File::Revision reaches the rotation limit..

Requirements: No special requirements
Platforms: Linux
Keyword: Backup Backup File File Filerevision Libraries Name New Options Perl Module Programming Revision
Users rating: 0/10

License: Freeware Size: 89.09 KB
FILE::REVISION RELATED
Libraries  -  Tie::Form 0.02
Tie::Form is a Perl module to access a machine readable database file that minics a hardcopy form. SYNOPSIS require Tie::Form; ##### # Using support methods and file handle with # the file subroutines such as open(), readline() # print(),...
89.09 KB  
Libraries  -  Tie::FormA 0.02
Tie::FormA is a Perl module that can access a machine readable database file that minics a hardcopy form. SYNOPSIS require Tie::FormA; ##### # Using support methods and file handle with # the file subroutines such as open(), readline() #...
100.35 KB  
Libraries  -  File::Backup 0.07
File::Backup is a Perl module for easy file backup & rotation automation. SYNOPSIS use File::Backup; backup( from => "/source/path", to => "/destination/path" ); backup( from => "/kansas/*", to => "/oz" ); purge_backups( to =>...
8.19 KB  
Libraries  -  Nokia::File::NFB 0.01
Nokia::File::NFB is a Perl module to create, read and write Nokia nfb/nfc phone backup files. SYNOPSIS use Nokia::File::NFB; my $nfb = new Nokia::File::NFB; ## read in the file phone_backup.nfb. $nfb->read(phone_backup.nfb); ## print...
7.17 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  -  Mozilla::Backup 0.06
Mozilla::Backup is a Perl module as a backup utility for Mozilla profiles. SYNOPSIS $moz = Mozilla::Backup->new(); $file = $moz->backup_profile("firefox", "default"); This package provides a simple interface to back up and restore the...
31.74 KB  
Libraries  -  File::Next::OO 0.04
File::Next::OO is a Perl module with file-finding iterator Wrapper for File::Next::files function. SYNOPSIS File::Next::OO is just a wrapper around File::Next::files function. But it is easy to remember and less typing. Call it always with...
8.19 KB  
Libraries  -  File::Wildcard 0.10
File::Wildcard is a Perl module for enhanced glob processing. SYNOPSIS use File::Wildcard; my $foo = File::Wildcard->new(path => "/home/me///core"); while (my $file = $foo->next) { unlink $file; } When looking at how various operating...
23.55 KB  
Libraries  -  File::Comments 0.07
File::Comments is a Perl module that ecognizes file formats and extracts format-specific comments. SYNOPSIS use File::Comments; my $snoop = File::Comments->new(); # *---------------- # | program.c: # | /* comment */ # | main () {} #...
12.29 KB  
Libraries  -  File::PathList 0.02
File::PathList is a Perl module that can find a file within a set of paths (like @INC or Java classpaths). SYNOPSIS # Create a basic pathset my $inc = File::PathList->new( @INC ); # Again, but with more explicit params my $inc2 =...
26.62 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
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