in reply to Re: How to get the number of fields found by split without a warning?
in thread How to get the number of fields found by split without a warning?

my $n =()= split ',', $str;

er... that seems to give me 1, whatever the length of the string

Am I missing something?

dave

  • Comment on Re: Re: How to get the number of fields found by split without a warning?
  • Download Code