in reply to got perl?

The $! variable is actually used for system error messages. The version of perl doesn't really matter; it's the OS and platform that determine whether or not this JAPH will produce the proper output.

For example, on a machine running RedHat linux, I get:

substr outside of string at tmp.pl line 14. Use of uninitialized value in concatenation (.) or string at tmp.pl li +ne 14. substr outside of string at tmp.pl line 14. Use of uninitialized value in concatenation (.) or string at tmp.pl li +ne 14. J edretig no hial
And on another machine running IRIX, I get: J eemp tocrdrnots i f I'm afraid it just doesn't make sense to rely on the value of $! for a JAPH.

Replies are listed 'Best First'.
Re: Re: got perl?
by ginseng (Pilgrim) on Jul 31, 2001 at 21:25 UTC
    Ahah! You're quit correct then that it doesn't make sense to rely on the value of $!.

    Yes, I saw that and still thought Perl was creating the messages. My bad. It's not like I couldn't have tested it on OpenBSD and Linux instead of just the FreeBSD I wrote it on - alas, I was lazy.

    Well, I guess that makes this code even more obfuscated... even when it runs, one does not know what it did! ;-)