Rsync::Config::Parser 0.3.1
Sponsored Links
Rsync::Config::Parser 0.3.1 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1003
Date added:
2007-01-25
Publisher:
Manuel SUBREDU
Rsync::Config::Parser 0.3.1 description
Rsync::Config::Parser is a simple Perl module for Rsync configuration parser.
SYNOPSIS
use Rsync::Config::Parser;
use Rsync::Config;
sub main {
my $parser = new Rsync::Config::Parser();
my $conf = $parser->parse(/etc/rsyncd.conf);
}
SUBROUTINES/METHODS
new()
Class constructor. Accepts a hash with the following options:
eat_trail_spaces (def. 0)
Removes the trail spaces from all lines.
parse($filename, $opt)
Calls the parser. You can override the defaults options by giving a hash ref ($opt). Returns a Rsync::Config object.
eat_trail_spaces
my $eat_trails = $parser->eat_trail_spaces;
$parser->eat_trail_spaces(1);
Both accessor and mutator, eat_trail_spaces can be used to get the current value or to change it.
If no arguments are provided, it will return the current eat_trail_spaces value.
If arguments are provided, first is considered to be the new eat_trail_spaces value and applied to the current object, all others being ignored.
As mutator, the current object will be returned (useful for method chaining).
If invalid value is passed , a fatal error is threw. Valid values are non-negative integers (0 included).
It can also be called as a class method, returning the default eat_trail_spaces value. In this case, no mutator mode is possible.
SYNOPSIS
use Rsync::Config::Parser;
use Rsync::Config;
sub main {
my $parser = new Rsync::Config::Parser();
my $conf = $parser->parse(/etc/rsyncd.conf);
}
SUBROUTINES/METHODS
new()
Class constructor. Accepts a hash with the following options:
eat_trail_spaces (def. 0)
Removes the trail spaces from all lines.
parse($filename, $opt)
Calls the parser. You can override the defaults options by giving a hash ref ($opt). Returns a Rsync::Config object.
eat_trail_spaces
my $eat_trails = $parser->eat_trail_spaces;
$parser->eat_trail_spaces(1);
Both accessor and mutator, eat_trail_spaces can be used to get the current value or to change it.
If no arguments are provided, it will return the current eat_trail_spaces value.
If arguments are provided, first is considered to be the new eat_trail_spaces value and applied to the current object, all others being ignored.
As mutator, the current object will be returned (useful for method chaining).
If invalid value is passed , a fatal error is threw. Valid values are non-negative integers (0 included).
It can also be called as a class method, returning the default eat_trail_spaces value. In this case, no mutator mode is possible.
Rsync::Config::Parser 0.3.1 Screenshot
Advertisements
Rsync::Config::Parser 0.3.1 Keywords
Parser 0.3.1
simple perl module
Simple Perl
Perl module
Configuration Parser
spaces
trail
parser
value
simple
Rsync
Rsync::Config::Parser
RsyncConfigParser
Rsync::Config::Parser 0.3.1
Libraries
Programming
Bookmark Rsync::Config::Parser 0.3.1
Rsync::Config::Parser 0.3.1 Copyright
WareSeeker periodically updates pricing and software information of Rsync::Config::Parser 0.3.1 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 Rsync::Config::Parser 0.3.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Rsync::Config is a Perl module for rsync configuration generator. Free Download
Rsync::Config::Renderer is a Perl module for rsync config rendering. Free Download
Rsync::Config::Blank is a basic atom object. Free Download
Rsync::Config::Module is a module entry from a rsync configuration file. Free Download
Rsync::Config::Comment is a Perl module with comments as objects. Free Download
RSync Manager provides a set of scripts to manage and automate rsync-reliant sites. Free Download
BBCode::Parser is a Perl module that parses BBCode tags. Free Download
RDF::Simple::Parser is a simple RDF/XML parser that reads a string containing RDF in XML. Free Download
Latest Software
Popular Software
Favourite Software