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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how can i create a hash by reading an array
by Tomtom (Scribe) on Jul 22, 2005 at 10:01 UTC | |
Re: how can i create a hash by reading an array
by davorg (Chancellor) on Jul 22, 2005 at 10:05 UTC | |
Re: how can i create a hash by reading an array
by Skeeve (Parson) on Jul 22, 2005 at 11:39 UTC |
Back to
Seekers of Perl Wisdom