---
name: "Text::Bidi::Constants"
section: "3pm"
platform: "linux"
package: "libtext-bidi-perl"
version: "2.18-1+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Text::Bidi::Constants"
---

# Text::Bidi::Constants(3pm)

Constants for Text::Bidi

## NAME

Text::Bidi::Constants - Constants for Text::Bidi

## VERSION

version 2.18

## DESCRIPTION

This module provides various constants defined by the fribidi library. They  can be used with some of the low-level functions in Text::Bidi, such as  "get\_bidi\_types" in Text::Bidi, but are of little interest as far as standard  usage is concerned.

Note that, though these are variables, they are read-only.

- •

  Constants of the form **FRIBIDI\_TYPE\_FOO** are available as  `$Text::Bidi::Type::FOO`. See [**fribidi\_get\_bidi\_type**(3)](/fribidi_get_bidi_type/3.md) for possible constants.

- •

  Constants of the form **FRIBIDI\_MASK\_FOO** are converted to  `$Text::Bidi::Mask::FOO`. See *fribidi-bidi-types.h* for possible masks and  how to use them.

- •

  Constants of the form **FRIBIDI\_PAR\_FOO** are converted to  `$Text::Bidi::Par::FOO`. See [**fribidi\_get\_par\_embedding\_levels**(3)](/fribidi_get_par_embedding_levels/3.md) for  possible constants.

- •

  Constants of the form **FRIBIDI\_FLAG\_FOO** or **FRIBIDI\_FLAGS\_FOO** are  converted to `$Text::Bidi::Flag::FOO` or `$Text::Bidi::Flag::FOO`. See  [**fribidi\_reorder\_line**(3)](/fribidi_reorder_line/3.md) and [**fribidi\_shape**(3)](/fribidi_shape/3.md) for possible constants. As a  special case, **FRIBIDI\_FLAGS\_ARABIC** is also available as  `$Text::Bidi::Flag::ARABIC`

- •

  Constants of the form **FRIBIDI\_JOINING\_TYPE\_FOO** are converted to  `$Text::Bidi::Joining::FOO`. See [**fribidi\_get\_joining\_type**(3)](/fribidi_get_joining_type/3.md) for  possible constants.

- •

  Constants of the form **FRIBIDI\_CHAR\_FOO** are converted to the character they  represent, and assigned to `$Text::Bidi::Char::FOO`. See  *fribidi-unicode.h* for possible constants.

## SEE ALSO

Text::Bidi

## AUTHOR

Moshe Kamensky \<kamensky@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Moshe Kamensky.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
