in reply to Text file Update problem!
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |