P is for Practical | |
PerlMonks |
how can i create a hash by reading an arrayby s_gaurav1091 (Beadle) |
on Jul 22, 2005 at 09:50 UTC ( [id://477155]=perlquestion: print w/replies, xml ) | Need Help?? |
s_gaurav1091 has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
M doubt is that how can i read an array each line and create a hash out of it
fo ex my array contains a line
EVENT_LOG_EMITTER rtbd:service=EventEmitterService,name=EventLogEmitter,protocol=XML
now iwant my hash to contain a key of EVENT_LOG_EMITTER and value of rtbd:service=EventEmitterService,name=EventLogEmitter,protocol=XML
Back to
Seekers of Perl Wisdom
|
|