in reply to Re: 3 strings to join
in thread 3 strings to join

nice.

throw in another join and grep:

$string = join ' where ', grep {$_} ($first, join ' and ', grep {$_} ( + $b, $c ));
and it can even handle the case where there are no where clauses...

-- I'm a solipsist, and so is everyone else. (think about it)