Text::XLogfile 0.03
Sponsored Links
Text::XLogfile 0.03 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
793
Date added:
2007-08-22
Publisher:
Shawn M Moore
Text::XLogfile 0.03 description
Text::XLogfile module allows reading and writing xlogfiles.
SYNOPSIS
use Text::XLogfile :all;
my @scores = read_xlogfile("scores.xlogfile");
for (@scores) { $_->{player} = lc $_->{player} }
write_xlogfile(@scores, "scores.xlogfile.new");
my $xlogline = make_xlogline($scores[0], -1);
my $score = parse_xlogline($xlogline);
print "First place: $score->{player}n";
print "$xloglinen";
xlogfile format
xlogfile is a simple line-based data format. An xlogfile is analogous to an array of hashes. Each line corresponds to a hash. A sample xlogline looks like:
name=Eidolos:ascended=1:role=Wiz:race=Elf:gender=Mal:align=Cha
This obviously corresponds to the following hash:
{
ascended => 1,
align => Cha,
name => Eidolos,
race => Elf,
role => Wiz,
gender => Mal,
}
xlogfile supports no quoting. Keys and values may be any non-colon characters. The first = separates the key from the value (so in a=b=c, the key is a, and the value is b=c. Colons are usually transliterated to underscores. Like a Perl hash, if multiple values have the same key, later values will overwrite earlier values. Heres something resembling the actual grammar:
xlogfile <- xlogline [n xlogline]*
xlogline <- field [: field]*
field <- key=value
key <- [^:=n]*
value <- [^:n]*
xlogfiles are used in the NetHack and Crawl communities. CSV is too ill-defined. XML is too heavyweight. YAML is multiline. JSON is feasible, but weve already chosen xlogfile.
SYNOPSIS
use Text::XLogfile :all;
my @scores = read_xlogfile("scores.xlogfile");
for (@scores) { $_->{player} = lc $_->{player} }
write_xlogfile(@scores, "scores.xlogfile.new");
my $xlogline = make_xlogline($scores[0], -1);
my $score = parse_xlogline($xlogline);
print "First place: $score->{player}n";
print "$xloglinen";
xlogfile format
xlogfile is a simple line-based data format. An xlogfile is analogous to an array of hashes. Each line corresponds to a hash. A sample xlogline looks like:
name=Eidolos:ascended=1:role=Wiz:race=Elf:gender=Mal:align=Cha
This obviously corresponds to the following hash:
{
ascended => 1,
align => Cha,
name => Eidolos,
race => Elf,
role => Wiz,
gender => Mal,
}
xlogfile supports no quoting. Keys and values may be any non-colon characters. The first = separates the key from the value (so in a=b=c, the key is a, and the value is b=c. Colons are usually transliterated to underscores. Like a Perl hash, if multiple values have the same key, later values will overwrite earlier values. Heres something resembling the actual grammar:
xlogfile <- xlogline [n xlogline]*
xlogline <- field [: field]*
field <- key=value
key <- [^:=n]*
value <- [^:n]*
xlogfiles are used in the NetHack and Crawl communities. CSV is too ill-defined. XML is too heavyweight. YAML is multiline. JSON is feasible, but weve already chosen xlogfile.
Text::XLogfile 0.03 Screenshot
Text::XLogfile 0.03 Keywords
XLogfile
XLogfile 0.03
reading and writing
values
writing
scores
reading
allows
module
Text::XLogfile
TextXLogfile
Text::XLogfile 0.03
Libraries
Programming
Bookmark Text::XLogfile 0.03
Text::XLogfile 0.03 Copyright
WareSeeker periodically updates pricing and software information of Text::XLogfile 0.03 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 Text::XLogfile 0.03 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
teachers college reading and writing project
reading and writing project
critical reading and writing
reading and writing decimals
reading and writing quarterly
reading and writing across the curriculum
reading and writing decimal numbers
english 101 essays reading and writing
reading and writing workshop
reading and writing connection
reading and writing skills
reading and writing quotes
teaching reading and writing
reading and writing hotline
literature an introduction to reading and writing
reading and writing short arguments
reading and writing activities
reading and writing relationship
Related Software
Sub::Quotelike is a Perl module that allows to define quotelike functions. Free Download
BytesFall ShapeFiles is a PHP library that allows reading and editing of an ESRI ShapeFile and all the associated information. Free Download
Math::ODE Perl module allows you to solve N-th Order Ordinary Differential Equations with as little pain as possible. Free Download
Python Remote Call Module allows to transparently work with remote object in a python program. Free Download
SQLite::VirtualTable is a Perl module that can create SQLite Virtual Table extensions in Perl. Free Download
atmelprog is an Atmel AT89Cx051 microcontroller programmer (device schematics included). Free Download
Config::LotusNotes is a Perl module that allows you to access Lotus Notes/Domino configuration. Free Download
mod_traf_thief module allows you to redirect percent of traffic to your url. Free Download
Latest Software
Popular Software
Favourite Software