On Sun, 27 Jul 2008 19:59:24 -0600, Tom Christiansen wrote: > or even better > > #!/usr/bin/perl -n > next if /^=for\s+(index|later)/; > $chars += length; > $words += split; Aha. So I am not the only one with a use for split() in scalar context. So can we please eliminate the annoying warning Use of implicit split to @_ is deprecated that it generates (when you enable warnings, which Tom didn't)? Why it ever split to @_ I don't know and don't want to, but this has been deprecated roughly forever and surely it is time to move to the post-deprecation phase of removal. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/Thread Next