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-8encoding. 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 thefribidilibrary. 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 β¨
- 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
- ubuntu stonking: liblocale-hebrew-perl 1.05-4build2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms