BOCQUET Jean-Francois wrote:
>
> hello,
> just to notice that your problem is solved in perl with clean code :
LOL!! Good one. :-)
> sub display {
> my ($prefix, $first, $last) = @_;
> return "$prefix$first" if $last eq $first;
> return "$prefix$first-$last";
> }
[snip rest of line noise]
-bigoted-ly y'rs,
Peter