Re: World's First JAPH

2001-08-22 Thread Ian Phillipps
On Wed, 22 Aug 2001 at 11:32:18 +1000, [EMAIL PROTECTED] wrote: From [EMAIL PROTECTED] (Randal Schwartz) 1 Feb 90 22:28:58 GMT @a=split(/(\d)/,4Hacker,2another3Perl1Just);shift(@a);%a=@a; print @a{1..4}; 66: %a=(,split /(\d)/,4Hacker,2another3Perl1Just);print@a{1..4}; I *think* this will

Re: World's shortest JAPH (was: first)

2001-08-22 Thread Sven Neuhaus
On Wed, Aug 22, 2001 at 10:15:46AM +0100, Ian Phillipps wrote: What *is* the world's shortest JAPH, anyway? I would be disappointed if it were just 'print ' Depends on how much you want to cheat (we've had this discussion before). If you have netcat installed as 'nc' in your path, you can

Re: World's shortest JAPH (was: first)

2001-08-22 Thread John Porter
Sven Neuhaus wrote: eval`nc a.tm 9000` He really ought to see about getting that service running at a port in the range 1..9. -- John Porter

Re: World's First JAPH

2001-08-22 Thread Randal L. Schwartz
Abigail == Abigail [EMAIL PROTECTED] writes: Abigail Being the one who has given several talks about Japhs, I've decreed Abigail that a Japh uses the following rules: Abigail- It prints Just another Perl Hacker with some reasonable Abigail captalization, followed by optional

triply self-modifying import function

2001-08-22 Thread David L. Nicol
I'm so happy with this I have to share it -- David Nicol 816.235.1187 ... raised indoors and tested by certified technicians package Pollute::Persistent; use 5.006; use strict; no strict 'refs'; no warnings;# all those subroutine redefinitions :)

Re: World's First JAPH

2001-08-22 Thread Abigail
On Wed, Aug 22, 2001 at 12:00:10PM +0200, Paul Johnson wrote: On Wed, Aug 22, 2001 at 11:48:27AM +0200, Newton, Philip wrote: Ian Phillipps wrote: What *is* the world's shortest JAPH, anyway? Well, if you're allowed to use modules: perl -MJ -ej for suitable values of J.pm

Re: World's First JAPH

2001-08-22 Thread Abigail
On Wed, Aug 22, 2001 at 06:46:43PM -0400, Keith C. Ivey wrote: Abigail [EMAIL PROTECTED] wrote: Being the one who has given several talks about Japhs, I've decreed that a Japh uses the following rules: - It prints Just another Perl Hacker with some reasonable captalization,

Re: World's First JAPH

2001-08-22 Thread Andrew . Savige
Ian Phillipps wrote: What *is* the world's shortest JAPH, anyway? I would be disappointed if it were just 'print ' If we ban external programs, is this the shortest? dieJust another Perl hacker Note the elegant embedding of newline inside the quotes (saves a character over \n :-).

Re: World's First JAPH

2001-08-22 Thread John Porter
[EMAIL PROTECTED] wrote: Embedding newlines inside quotes is controversial; doubtless, some golfers and japhers would seek to ban this perhaps shady practice. Absolutely not. Amongst C programmers, maybe (:-) but not Perl programmers. Where'd you get that strange idea? -- John Porter

Re: World's First JAPH

2001-08-22 Thread Steve Lane
[EMAIL PROTECTED] wrote: Ian Phillipps wrote: What *is* the world's shortest JAPH, anyway? I would be disappointed if it were just 'print ' If we ban external programs, is this the shortest? dieJust another Perl hacker if external programs -that come with Perl- are allowed, you

Re: World's First JAPH

2001-08-22 Thread Jas Nagra
Or sometimes: dieJust another $^X hacker jas [EMAIL PROTECTED] writes: Ian Phillipps wrote: What *is* the world's shortest JAPH, anyway? I would be disappointed if it were just 'print ' If we ban external programs, is this the shortest? dieJust another Perl hacker Note the