yitzle wrote:
Note: split splits on whitespace by default, so these two are the same: split /\s+/, @array; split @array;
Not true:
use strict;
use warnings;
my @list;
for (' A B C ') {
@list = split /\s+/, $_;
print scalar @list, "\n";
@list = split;
print scalar @list, "\n";
}
**OUTPUT**
4
3
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
