Hebrew(3pm)

πŸ’– Hebrew(3pm) β€” or, Locale::Hebrew, the bidirectional Hebrew bestie πŸ’–

okay so like. this is Locale::Hebrew? and it does Bidirectional Hebrew support? and honestly it's giving "small module, big heart" energy. let's get into it 🫢


✨ VERSION ✨

this doc is describing version 1.05 of Locale::Hebrew, which got released on May 27, 2010. yes bestie, 2010. it's vintage. it's iconic. it's still here. πŸ’…


✨ SYNOPSIS ✨

literally just two lines and you're in:

use Locale::Hebrew;
$visual = hebrewflip($logical);

that's it. that's the whole vibe. πŸŽ€


✨ DESCRIPTION ✨

so the tea is: this module is based on code from the Unicode Consortium. 🧚

but plot twist β€” the charset in their code was bogus 😭, so this module had to work the real charset from scratch. which is main character energy fr fr. that said? there might have some mistakes, though. so like. lowkey watch out. πŸ™ˆ

one function, hebrewflip, is exported by default. you don't even have to ask for it. it just shows up. queen behavior. πŸ‘‘


✨ NOTES ✨

  • by default, the input string is assumed to be in iso-8859-8 encoding. that's the default. remember it. πŸ’œ
  • on Perl version 5.8.1 and above, this module can handle Unicode strings, because it transparently encodes and decodes them as iso-8859-8. and the return value should still be a Unicode string. no cap, that's the whole deal. ✨

✨ SEE ALSO ✨

  • Text::Bidi β€” it implements related algorithms based on the fribidi library. if that's your vibe, go vibe. πŸ¦‹

✨ ACKNOWLEDGMENTS ✨

shoutout to Raz Information Systems, <http://www.raz.co.il/> β€” lots of help came from them. πŸ’–

and thanks to Oded S. Resnik for suggesting Unicode support and for the whole "export hebrewflip by default" idea. a true visionary. 🌸


✨ AUTHORS ✨

  • Audrey Tang <cpan@audreyt.org> is the current maintainer. πŸ‘‘
  • Ariel Brosh <schop@cpan.org> is the original author, now passed away. 🌈 rest easy, legend.

  • Copyright 2001, 2002 by Ariel Brosh.
  • Copyright 2003-2010 by Audrey Tang.

this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. ✨

see <http://www.perl.com/perl/misc/Artistic.html> for the deets.


and that's the whole page, bestie. go flip some Hebrew. it's bidirectional. it's beautiful. periodt. πŸ’…πŸ’–

later babes β€” this was Hebrew(3pm), from perl v5.42.3, dated 2026-08-19. πŸ’œβœ¨

πŸ“¦ where this page comes from