Re: Secret operators

2005-02-01 Thread Jeff Yoak
On Tue, 2005-02-01 at 03:49, Jos Castro wrote: Hi, guys. Apart from the secret eskimo greeting and the goatse operator, can anyone tell me about other secret operators? Examples: eskimo: }{ goatse: =()= eskimo usage: perl -ne '}{print $.' This is wonderfully deranged. I

Re: Unknown level of hash

2005-03-28 Thread Jeff Yoak
On Mon, 2005-03-28 at 15:06, Zhuang Li wrote: Hi, given an array: @a = ('E1', 'E2', ..., 'En'); Is there an easy way, hopefully one liner, to do the following without a loop? If not, will Perl support this in Perl 6? $hash-{E1}-{E2}-...-{En} = 1; use Data::Dumper; my @x = qw/a

RE: Unknown level of hash

2005-03-28 Thread Jeff Yoak
I meant more that my answer was more fun than useful. I can't imagine a reason one wouldn't prefer a loop to an eval. :-) On Mon, 2005-03-28 at 16:00, Zhuang Li wrote: Yes. I think it's both useful and fun. I was thinking something similar to @[EMAIL PROTECTED] = map{1} @a; Well... that's

Re: Rate my JAPH

2011-11-25 Thread Jeff Yoak
/?node_id=412464 claims that the first JAPH was simply (note the punctuation): print Just another Perl hacker, This ancient JAPH was penned in 1988 by a Portland Oregon hacker, currently sobering up after his wild 50th birthday party. /-\ - Original Message - From: Jeff

Re: Rate my JAPH

2011-12-07 Thread Jeff Yoak
On Dec 7, 2011, at 12:18 PM, Yitzchak Scott-Thoennes wrote: Ooh, it's been a long time since I've seen a good statement-separator vs. statement-terminator religious argument. Was that an opening salvo? I almost made a comment on this as well and pulled back just in time. ;-) But as all