I think you want to print conditionally. The trinary op is helpful:
That handles both cases.print OUT $host, " "x(40-length($host)), "-> ", $xronos, (defined $game ? " -> $game" : ''), "\n";
After Compline,
Zaxo
In reply to Re: Text file Update problem!
by Zaxo
in thread Text file Update problem!
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |