my $count = do { my $i; $i++ while <$fh>; $i };
my $count = do { () = <$fh>; $. };
Makeshifts last the longest.
In reply to Re^2: No plan "weakens" my Test scripts?
by Aristotle
in thread No plan "weakens" my Test scripts?
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |