Hello all,

I need to process a record

Key1   3.00 4.00    5.00

I need to trap spaces between nonwhitespace characters as array elements i.e for the 
above record
the resulting array should be
('   ',' ','    ')

The staement that I am using 

my @spaces = map /(\s+)/, $_;

is able to trap only the 3 whitespaces between Key1 and 3.00 ('   ')


Please let me know.

Thanks.

Reply via email to