Option #1 )
my $output = <<EOF
Select the number of clients to run for this SLT:
1) 2000
2) 1500
3) 1300
4) 500
=>
EOF
;
chomp $output;
print $output;
$num_clients = <STDIN>;
****************************
Option 2 )
print qq[
Select the number of clients to run for this SLT:
1) 2000
2) 1500
3) 1300
4) 500
=> ];
$num_clients = <STDIN>;
-----Original Message-----
From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 10:18 AM
To: Beginners (E-mail)
Subject: <STDIN> Help
Folks,
I have the following little test code
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?
right now it looks like:
Select the number of clients to run for this SLT:
1) 2000
2) 1500
3) 1300
4) 500
=>
<curson here>
Regards,
Ron
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]