UPDATE: And now without the variable %w...use strict;use Text::Soundex; my%w=map{((soundex$_),$_)}qw( Yet another JAPH for the obfuscated code section for all you Perl monks. Just a simple hack (but then I'm a simple hacker really). Comments welcome! (warnings expunged as per Tilly's suggestion) );print map{"$w{soundex$_} "}(qw( jossed a-needier poorly hooker ));
Cheerio!use strict;use Text::Soundex; print map{${{map{((soundex$_),$_)}qw( Yet another JAPH for the obfuscated code section for all you Perl monks. Just a simple hack (but then I'm a simple hacker really). Updated version without warnings and with anonymous hash. Comments welcome! )}}{soundex$_}." "}(qw( jossed a-needier poorly hooker ));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Sounds like another Japh
by Nooks (Monk) on Sep 16, 2000 at 17:10 UTC | |
|
RE (tilly) 1: Sounds like another Japh
by tilly (Archbishop) on Sep 15, 2000 at 17:19 UTC |