Text::...nstants(3pm)

✨ NAME ✨

Text::Bidi::Constants β€” the constants module for Text::Bidi, bestie πŸ’–

So like, this is the lil sidekick to Text::Bidi, and it's literally just here to hold the constants, no cap.

🌸 VERSION 🌸

version 2.18 β€” yes queen, we're current πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea πŸ“: this module hands you a whole pile of constants that come straight from the fribidi library. They're made for the low-level functions chilling inside Text::Bidi, stuff like "get_bidi_types" in Text::Bidi, but honestly? If you're just doing normal everyday usage, you probably won't ever need them. They're giving background-character energy, not main-character energy πŸ‘‘

Heads up bestie: even though these look like variables, they are read-only. So don't try to assign to them, it will NOT go well 😭

Here's the whole squad, all of them:

  • Constants shaped like FRIBIDI_TYPE_FOO show up as $Text::Bidi::Type::FOO. Wanna know which constants exist? Go peek at fribidi_get_bidi_type(3) 🌈
  • Constants shaped like FRIBIDI_MASK_FOO get converted into $Text::Bidi::Mask::FOO. For the full list of masks and how to actually use them, check fribidi-bidi-types.h 🧚
  • Constants shaped like FRIBIDI_PAR_FOO become $Text::Bidi::Par::FOO. Obsessed with options? fribidi_get_par_embedding_levels(3) has the possible constants ⭐
  • Constants shaped like FRIBIDI_FLAG_FOO or FRIBIDI_FLAGS_FOO turn into $Text::Bidi::Flag::FOO or $Text::Bidi::Flag::FOO. Possible constants live in fribidi_reorder_line(3) and fribidi_shape(3). And as a special little treat πŸŽ€, FRIBIDI_FLAGS_ARABIC is also available as $Text::Bidi::Flag::ARABIC
  • Constants shaped like FRIBIDI_JOINING_TYPE_FOO get converted to $Text::Bidi::Joining::FOO. Possible constants are over in fribidi_get_joining_type(3) πŸ’œ
  • Constants shaped like FRIBIDI_CHAR_FOO get converted to the actual character they represent, and assigned to $Text::Bidi::Char::FOO. Possible constants live in fribidi-unicode.h πŸ’–

πŸ‘€ SEE ALSO πŸ‘€

  • Text::Bidi

The one and only, the parent module, the moment 🫢

πŸ’Œ AUTHOR πŸ’Œ

Moshe Kamensky <kamensky@cpan.org>

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. So like, go wild, but respectfully 🌸


And that's the whole page, bestie! Sending you off with the deets: this was rendered by perl v5.42.3, dated 2026-08-19, for Text::Bidi::Constants. Slay, read responsibly, and don't forget your bidi types πŸ’…βœ¨

πŸ“¦ where this page comes from