in reply to Re^5: Challenge: prefix($x, $y) . suffix($x, $z) eq $x
in thread Challenge: prefix($x, $y) . suffix($x, $z) eq $x
$perl shmem.pl hello found: prefix(haughtiness humanoid ... hello
prefix(hello, hello) ne 'h' for a number of reasons. First, they have more in common then h. Second, it would consume the entire word - both of which are against the rules.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Challenge: prefix($x, $y) . suffix($x, $z) eq $x
by shmem (Chancellor) on Apr 23, 2009 at 00:43 UTC | |
by Limbic~Region (Chancellor) on Apr 23, 2009 at 00:51 UTC |