APR::Bucket 2.0.3
Sponsored Links
APR::Bucket 2.0.3 Ranking & Summary
File size:
3.5 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
846
Date added:
2007-06-30
Publisher:
mod_perl development team
APR::Bucket 2.0.3 description
APR::Bucket is a Perl API for manipulating APR Buckets.
Synopsis
use APR::Bucket ();
my $ba = $c->bucket_alloc;
$b1 = APR::Bucket->new($ba, "aaa");
$b2 = APR::Bucket::eos_create($ba);
$b3 = APR::Bucket::flush_create($ba);
$b2->is_eos;
$b3->is_flush;
$len = $b1->length;
$len = $b1->read($data);
$type = $b1->type;
$b1->insert_after($b2);
$b1->insert_before($b3);
$b1->remove;
$b1->destroy;
$b2->delete; # remove+destroy
$b4 = APR::Bucket->new($ba, "to be setaside");
$b4->setaside($pool);
APR::Bucket allows you to create, manipulate and delete APR buckets.
You will probably find the various insert methods confusing, the tip is to read the function right to left. The following code sample helps to visualize the operations:
my $bb = APR::Brigade->new($r->pool, $ba);
my $d1 = APR::Bucket->new($ba, "d1");
my $d2 = APR::Bucket->new($ba, "d2");
my $f1 = APR::Bucket::flush_create($ba);
my $f2 = APR::Bucket::flush_create($ba);
my $e1 = APR::Bucket::eos_create($ba);
# head->tail
$bb->insert_head( $d1); # head->d1->tail
$d1->insert_after( $d2); # head->d1->d2->tail
$d2->insert_before($f1); # head->d1->f1->d2->tail
$d2->insert_after( $f2); # head->d1->f1->d2->f2->tail
$bb->insert_tail( $e1); # head->d1->f1->d2->f2->e1->tail
Synopsis
use APR::Bucket ();
my $ba = $c->bucket_alloc;
$b1 = APR::Bucket->new($ba, "aaa");
$b2 = APR::Bucket::eos_create($ba);
$b3 = APR::Bucket::flush_create($ba);
$b2->is_eos;
$b3->is_flush;
$len = $b1->length;
$len = $b1->read($data);
$type = $b1->type;
$b1->insert_after($b2);
$b1->insert_before($b3);
$b1->remove;
$b1->destroy;
$b2->delete; # remove+destroy
$b4 = APR::Bucket->new($ba, "to be setaside");
$b4->setaside($pool);
APR::Bucket allows you to create, manipulate and delete APR buckets.
You will probably find the various insert methods confusing, the tip is to read the function right to left. The following code sample helps to visualize the operations:
my $bb = APR::Brigade->new($r->pool, $ba);
my $d1 = APR::Bucket->new($ba, "d1");
my $d2 = APR::Bucket->new($ba, "d2");
my $f1 = APR::Bucket::flush_create($ba);
my $f2 = APR::Bucket::flush_create($ba);
my $e1 = APR::Bucket::eos_create($ba);
# head->tail
$bb->insert_head( $d1); # head->d1->tail
$d1->insert_after( $d2); # head->d1->d2->tail
$d2->insert_before($f1); # head->d1->f1->d2->tail
$d2->insert_after( $f2); # head->d1->f1->d2->f2->tail
$bb->insert_tail( $e1); # head->d1->f1->d2->f2->e1->tail
APR::Bucket 2.0.3 Screenshot
APR::Bucket 2.0.3 Keywords
APR
APR Buckets
Perl API
API
Bucket 2.0.3
Buckets
ba
insert
tail
create
new
Perl
APR::Bucket
APRBucket
APR::Bucket 2.0.3
Libraries
Bookmark APR::Bucket 2.0.3
APR::Bucket 2.0.3 Copyright
WareSeeker periodically updates pricing and software information of APR::Bucket 2.0.3 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 APR::Bucket 2.0.3 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
APR::Brigade is a Perl API for manipulating APR Bucket Brigades. Free Download
XML::ApacheFOP is a Perl module that can access Apache FOP from Perl to create PDF files using XSL-FO. Free Download
Perl::Dist::Builder is a Perl module to create win32 Perl installers. Free Download
Acme::Wabby is a Perl extension used to create semi-random sentences based upon a body of text. Free Download
DungeonMaker-Lib is a fork of the project DungeonMaker, which has been abandoned. Free Download
Apache::Wyrd is a Perl module for HTML embeddable perl objects under mod_perl. Free Download
Apache2::SiteMap is a Perl module that can dynamically create Google SiteMap files. Free Download
ImageBackup creates incremental backup CDs of digital pictures. Free Download
Latest Software
Popular Software
Favourite Software