in reply to Re: Counting the number of items returned by split without using a named array
in thread Counting the number of items returned by split without using a named array
print $count = $_ =~ s/\S+//g;
Thx a lot
Why does a simpleprint $count = s/\S+//g;
This (as suggested below) did not count anything either:
$count = () = s/\S+//g;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Counting the number of items returned by split without using a named array
by borisz (Canon) on May 03, 2006 at 13:02 UTC | |
Re^3: Counting the number of items returned by split without using a named array
by blazar (Canon) on May 03, 2006 at 13:11 UTC |