---
name: "APR::BucketType"
section: "3pm"
platform: "linux"
package: "libapache2-mod-perl2"
version: "2.0.13-2+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/APR::BucketType"
---

# APR::BucketType(3pm)

Perl API for APR bucket types

## NAME

APR::BucketType - Perl API for APR bucket types

## Synopsis

```
  use APR::BucketType ();

  my $name = $b_type->name;
```

## Description

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

## API

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

### "name"

Get the name of the bucket type:

```
  my $bucket_type_name = $b_type->name;
```

- arg1: $b\_type ( "APR::BucketType object" )

  - ret: $bucket\_type\_name ( string )

  - since: 2.0.00

  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'*.

## See Also

mod\_perl 2.0 documentation.

## Copyright

mod\_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.

## Authors

The mod\_perl development team and numerous contributors.
