No such thing as a small change | |
PerlMonks |
Re: Copying a hash element into an array as a listby bassplayer (Monsignor) |
on Mar 24, 2004 at 17:34 UTC ( [id://339483]=note: print w/replies, xml ) | Need Help?? |
Change the second line to: my @Array=split /\s/,$Hash{"Element"}; This splits the string on spaces before sending it to the array. bassplayer
In Section
Seekers of Perl Wisdom
|
|