in reply to Splitting Array with Variable Spaces

split() isn't the only hammer in the toolbox. Consider unpack(). There's a good example of using it for just this type of problem on pages 37-41 of "The Perl Cookbook".
  • Comment on RE: Splitting Array with Variable Spaces