Anyway, in Perl if you want print or printf to not print a newline, just don't put a newline in the string to print. It will only print out a newline if you tell it to print a newline.
As for Perl printing out the line until the in between code is finished, that's because of buffering. You can turn buffering off by setting $| to 1.
See also 'man perlvar'.
Abigail
In reply to Re: Shell-like "print"
by Abigail-II
in thread Shell-like "print"
by monk_wannabe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |