in reply to Re: if logic OR parentheses problem
in thread if logic OR parentheses problem

print join ' ', $atob, $btoc, $atoc, "\n";

Why use join? It's far simpler to interpolate inside double-quotes.

print qq{$atob $btoc $atoc\n};

Cheers,

JohnGG

Update: Corrected sigil typo

Replies are listed 'Best First'.
Re^3: if logic OR parentheses problem
by gamache (Friar) on Oct 26, 2007 at 16:09 UTC
    I use join like this all over the place. In many cases, I find that it looks less cluttered in the code. There's no great advantage to it in this case, but there's no reason to avoid it either.