EDIT: found out how to do this, using
while (my $text = <STDIN>) { chomp($text); print "You entered '$text'\n"; last if ($text eq ''); }
but with a counter instead of "last"
In reply to Re: Limited Number of User Input
by kash650
in thread Limited Number of User Input
by kash650
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |