In article
<[EMAIL PROTECTED]
m>, [EMAIL PROTECTED] (Ronald Yacketta) wrote:
> my $output = <<EOF
> Select the number of clients to run for this SLT:
> 1) 2000
> 2) 1500
> 3) 1300
> 4) 500
> =>
> EOF
> ;
> print $output;
> $num_clients = <STDIN>;
> how would I get the cursor to be on the same line as the => after the
> print happens?
don't print a newline after the prompt. :)
my $prompt = "=> ";
my $output = <<'EOF';
Select the number of clients to run for this SLT:
1) 2000
2) 1500
3) 1300
4) 500
EOT
print $output, $prompt;
--
brian d foy <[EMAIL PROTECTED]> - Perl services for hire
CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]