Re: World's First JAPH

2001-08-22 Thread Andrew . Savige
> "Andrew" == Andrew Savige <[EMAIL PROTECTED]> writes: Andrew> The editor of the Guinness Book of Records is eager Andrew> to identify the World's First JAPH. Randal L. Schwartz wrote: > Is this for real? So far, I'm thinking it's all an interesting > facade. But are you really TALKING to

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

Re: World's First JAPH

2001-08-22 Thread Newton, Philip
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 and &J::j Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> All opinions are my own, not my employer's. If you're not part of the solu

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 c

Re: World's First JAPH

2001-08-22 Thread Newton, Philip
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 and &J::j > > per

Re: World's First JAPH

2001-08-22 Thread Randal L. Schwartz
> "Andrew" == Andrew Savige <[EMAIL PROTECTED]> writes: Andrew> Now, I have from the original source that a JAPH purist should Andrew> terminate it with a comma, and not a new line. :-) I've *always* claimed that. :-) The nice thing is that it's also 25 characters long, and some of my earl

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 shortest JAPH (was: first)

2001-08-22 Thread Sven Neuhaus
On Wed, Aug 22, 2001 at 10:56:49AM -0400, John Porter wrote: > 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. OK, I give in. eval`nc a.tm 8` -- $\=$/,$^X=~m(((.)..l));$~=q,od,,$_='[EMAIL PROTECTED] 2000/01

Re: World's First JAPH

2001-08-22 Thread Abigail
On Wed, Aug 22, 2001 at 06:30:11AM -0700, Randal L. Schwartz wrote: > > "Andrew" == Andrew Savige <[EMAIL PROTECTED]> writes: > > Andrew> Now, I have from the original source that a JAPH purist should > Andrew> terminate it with a comma, and not a new line. :-) > > I've *always* claimed that

Re: World's First JAPH

2001-08-22 Thread Ilmari Karonen
On Wed, 22 Aug 2001, Abigail wrote: > > Using a comma and a newline gives you 26 characters, which is interesting > because there are 26 characters in the alphabet. print @{{split//,"buitdtcsxrprlrhognqlvkshjhweoekeuctafanPaJy,r m e z\n"}}{a..z} > Being the one who has given several talks abo

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 opt

Re: World's First JAPH

2001-08-22 Thread Paul Johnson
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 and &J::j perl -MJ for suitable values of J.pm and &J:

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 suitab

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 > >

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? die"Just another Perl hacker " Note the elegant embedding of newline inside the quotes (saves a character over \n :-). A

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 Andrew . Savige
[EMAIL PROTECTED] wrote: >> Embedding newlines inside quotes is controversial; >> doubtless, some golfers and japhers would seek to >> ban this perhaps shady practice. John Porter wrote: > Absolutely not. Amongst C programmers, maybe (:-) but not > Perl programmers. Where'd you get that strange

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? > die"Just another Perl hacker > " if external programs -that come with Perl- are

Re: World's First JAPH

2001-08-22 Thread Jas Nagra
Or sometimes: die"Just 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? > die"Just another Perl hacker >

Re: World's First JAPH

2001-08-22 Thread Keith C. Ivey
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, followed by optional punctuation (comma, > dot) followed