As I figured STDIN might be read into @_. It's giving me syntax errors though. Was that a wrong assumption about @_? And if so, how would you do it? And if it's not, is my syntax just crappy?if(defined($number_of_lines)) { if($#_ eq $number_of_lines) { last; } }
In reply to Finding number of lines in STDIN by bonoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |