On 11/16/07, AndrewMcHorney <[EMAIL PROTECTED]> wrote: > Here is a sample line of source; > > "2004-08-03 23:57 1,712,128 GdiPlus.dll" and the > recommended split gives me 13 for the number of items. I would like > an array that has "2004-08-03", "23:57","1,712,128","GdiPlus.dll" as > the elements of the array.
Well, that's not source. :-) But it sounds as if you want to use /\s+/ as your split pattern. Or maybe /\x20+/, if you want to split only on spaces. Does that help you past where you're stuck, writing the pattern for split? Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/