Parse::Binary::FixedFormat 0.10
Sponsored Links
Parse::Binary::FixedFormat 0.10 Ranking & Summary
File size:
0.031 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1171
Date added:
2006-08-09
Publisher:
Autrijus Tang
Parse::Binary::FixedFormat 0.10 description
Parse::Binary::FixedFormat is a Perl module to convert between fixed-length fields and hashes.
SYNOPSIS
use Parse::Binary::FixedFormat;
my $tarhdr =
new Parse::Binary::FixedFormat [ qw(name:a100 mode:a8 uid:a8 gid:a8 size:a12
mtime:a12 chksum:a8 typeflag:a1 linkname:a100
magic:a6 version:a2 uname:a32 gname:a32
devmajor:a8 devminor:a8 prefix:a155) ];
my $buf;
read TARFILE, $buf, 512;
# create a hash from the buffer read from the file
my $hdr = $tarhdr->unformat($buf); # $hdr gets a hash ref
# create a flat record from a hash reference
my $buf = $tarhdr->format($hdr); # $hdr is a hash ref
# create a hash for a new record
my $newrec = $tarhdr->blank();
Parse::Binary::FixedFormat can be used to convert between a buffer with fixed-length field definitions and a hash with named entries for each field. The perl pack and unpack functions are used to perform the conversions. Parse::Binary::FixedFormat builds the format string by concatenating the field descriptions and converts between the lists used by pack and unpack and a hash that can be reference by field name.
SYNOPSIS
use Parse::Binary::FixedFormat;
my $tarhdr =
new Parse::Binary::FixedFormat [ qw(name:a100 mode:a8 uid:a8 gid:a8 size:a12
mtime:a12 chksum:a8 typeflag:a1 linkname:a100
magic:a6 version:a2 uname:a32 gname:a32
devmajor:a8 devminor:a8 prefix:a155) ];
my $buf;
read TARFILE, $buf, 512;
# create a hash from the buffer read from the file
my $hdr = $tarhdr->unformat($buf); # $hdr gets a hash ref
# create a flat record from a hash reference
my $buf = $tarhdr->format($hdr); # $hdr is a hash ref
# create a hash for a new record
my $newrec = $tarhdr->blank();
Parse::Binary::FixedFormat can be used to convert between a buffer with fixed-length field definitions and a hash with named entries for each field. The perl pack and unpack functions are used to perform the conversions. Parse::Binary::FixedFormat builds the format string by concatenating the field descriptions and converts between the lists used by pack and unpack and a hash that can be reference by field name.
Parse::Binary::FixedFormat 0.10 Screenshot
Advertisements
Parse::Binary::FixedFormat 0.10 Keywords
FixedFormat
FixedFormat 0.10
to convert
Perl module
hash
Perl
fixed-length
convert
module
BUF
Parse::Binary::FixedFormat
ParseBinaryFixedFormat
Parse::Binary::FixedFormat 0.10
Libraries
Programming
Bookmark Parse::Binary::FixedFormat 0.10
Parse::Binary::FixedFormat 0.10 Copyright
WareSeeker periodically updates pricing and software information of Parse::Binary::FixedFormat 0.10 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 Parse::Binary::FixedFormat 0.10 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
fixedformatextclassptr
perl modules
hashim thaqi
convert celsius to fahrenheit
install perl module
convert grams to ounces
convert mm to inches
rosh hashanah
hashem
installing perl module
hasheem thabeet
convert pdf to word
convert wma to mp3
hashimotou0027s disease
convert meters to feet
convert steps to miles
xml parser perl module
fixed format
Related Software
Parse::Binary::FixedFormat::Variants is a Perl module to convert between variant records and hashes. Free Download
PDF::FromHTML is a Perl module to convert HTML documents to PDF. Free Download
DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds. Free Download
HTML::FromMail::Format::OODoc is a Perl module that can convert messages into HTML using OODoc::Template. Free Download
Basset::Container::Hash Perl module implements a layered hash. Free Download
Tie::Hash::Sorted Perl module presents hashes in sorted order. Free Download
DateTime::Format::Epoch::RJD is a Perl module that can convert DateTimes to/from Reduced Julian Days. Free Download
DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days. Free Download
Latest Software
Popular Software
Favourite Software