http://qs321.pair.com?node_id=849484

changma_ha has asked for the wisdom of the Perl Monks concerning the following question:

hello all, I am a newbie in perl. i have a text file like:
a 2 b 4,5,6 c d e 45,657,-67
i want an output like
a => [2] b =>[4,5,6] c =>[] d=> [] e=> [45,657,-67]
is it possible to make the text data into complex structure of hash array?.plz help me out asap.

20100721 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips