in reply to Re^2: I'm splitting a scalar and putting the results in an array. Why is the first element empty?
in thread I'm splitting a scalar and putting the results in an array. Why is the first element empty?

It does if you have parans in the regex.
my @table = split /(:)/, $string
--Artist
  • Comment on Re^3: I'm splitting a scalar and putting the results in an array. Why is the first element empty?
  • Download Code