Gufranul Haque <[EMAIL PROTECTED]> wrote: > > I am trying to split the each number into an array of charcters > and then calculating the length of the array > > my @digits = split(/\S/, @number[$i]) ^ > my @length = @digits ^ these should both be '$' > > but somehow it doesn't seem to be working. Can someone tell me > the corect expression to use, >
my $length = length $number[$i]; -- Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]