On Jan 22, 2008 8:25 PM, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
snip
> > Or variables like $main'foo.
>
> I don't think I've ever seen this outside Obfu(scation) or golf.
> It's good to know something like that is possible, but please don't
> use that. Unless of course you do want to confuse someone ;-)
snip

You mean you haven't heard of Damian's Klingon module
Lingua-tlhInganHol-yIghun*?  It is currently being checked for
correctness by the Klingon Language Institute**, so it is not
available on CPAN.  What follows is an implementation of the Sieve of
Eratosthenes (at least I think it is) using it.  There is also
Acme::Don't*** and D'oh****.

use Lingua::tlhInganHol::yIghun
#       "yImugh",
#       "yIQIj",
#       "tera'nganHol",
;

###### mI'wa'DIchvaD 'eratoSHeneS HeghqaD #####

<mI' tIn law': > yIghItlh!
mI'tInwIj laDDaqvo'Hal yIlaD nob!
mI'wa'DIchmeywIj cha' mI'tIn chen nob!
{
        mI'wa'DIchmeyvaD { 'oH gheD chuv! } mI'wa'DIchmey tIwIv yInob!
        gheD <<\n>> ghItlh!
} gheDvaD mI'wa'DIchmeyvaD yInIH yInob teHtaHvIS!

* http://www.csse.monash.edu.au/~damian/CPAN/Lingua-tlhInganHol-yIghun.tar.gz
** http://www.kli.org/
*** http://search.cpan.org/dist/Acme-Don-t/t.pm
**** http://search.cpan.org/dist/D-oh/lib/D/oh.pm

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to