in reply to Is Perl less compact than Ruby? (Kind of competition)
In my testing it seems to work with the following change (saving 4 more characters):
jynx/i/&&w+($_=getc)?ord:-1 # goes to: /i/&&w(ord getc|-1)
update: take out the parens on that up there:
for another 1 char savings.../i/&&w ord getc|-1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Is Perl less compact than Ruby? (Kind of competition)
by dragonchild (Archbishop) on Feb 19, 2002 at 19:15 UTC | |
by jynx (Priest) on Feb 19, 2002 at 19:41 UTC | |
by locked_user mtve (Deacon) on Feb 20, 2002 at 10:13 UTC | |
by dragonchild (Archbishop) on Feb 19, 2002 at 21:42 UTC |