Scroll to navigation

Text::Bidi::Constants(3pm) User Contributed Perl Documentation Text::Bidi::Constants(3pm)


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


version 2.15


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) 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) 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) and fribidi_shape(3) 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) 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.




Moshe Kamensky <>


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.

2022-02-05 perl v5.34.0