http://www.perlmonks.org?node_id=339483


in reply to Copying a hash element into an array as a list

Change the second line to:

my @Array=split /\s/,$Hash{"Element"};

This splits the string on spaces before sending it to the array.

bassplayer