Help for this page

Select Code to Download


  1. or download this
    my $count = do { my $i; $i++ while <$fh>; $i };
    
  2. or download this
    my $count = do { () = <$fh>; $. };