open (IN, "<", $ARGV[0]); my $i =0; while (){$i++} print $i;