mod_perl logo perl icon
previous page: APR::BucketAlloc - Perl API for Bucket Allocationpage up: mod_perl 2.0 APInext page: APR::Const - Perl Interface for APR Constants

APR::BucketType - Perl API for APR bucket types






mod_perl2 User's Guide

mod_perl2 User's Guide

By Stas Bekman, Jim Brandt
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet
The mod_perl Developer's Cookbook

The mod_perl Developer's Cookbook

By Geoffrey Young, Paul Lindner, Randy Kobes
mod_perl Pocket Reference

mod_perl Pocket Reference

By Andrew Ford
Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams


Table of Contents

Synopsis

  use APR::BucketType ();
  
  my $name = $b_type->name;


TOP

Description

APR::BucketType allows you to query bucket object type properties.



TOP

API

APR::BucketType provides the following functions and/or methods:



TOP

name

Get the name of the bucket type:

  my $bucket_type_name = $b_type->name;

Example:

  use APR::Bucket ();
  use APR::BucketType ();
  my $eos_b = APR::Bucket::eos_create($ba);
  my $b_type = $eos_b->type;
  my $name = $b_type->name;

Now $name contains 'EOS'.



TOP

See Also

mod_perl 2.0 documentation.



TOP

Copyright

mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.



TOP

Authors

The mod_perl development team and numerous contributors.






TOP
previous page: APR::BucketAlloc - Perl API for Bucket Allocationpage up: mod_perl 2.0 APInext page: APR::Const - Perl Interface for APR Constants