manav_gupta has asked for the wisdom of the Perl Monks concerning the following question:
AMGR.HOSTA.CORBA_PORT=0 AMGR.HOSTA.EXECUTABLE_FILENAME=/opt/datachannel/bin/visual AMGR.HOSTA.ROOT_DIRECTORY=/opt/datachannel/ BCOL.1.2.3002_SERVICE_PORT=0 BCOL.1.2.COLLECTOR_ALIAS=2 CATCHALL=OrderedCollection ()I need to read that file and build a tree-like hash. what would be most elegant way of doing that, without having to search/parse for each period-delimited word?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: read flat file and build tree-like structure
by ikegami (Patriarch) on Nov 19, 2007 at 17:03 UTC | |
|
Re: read flat file and build tree-like structure
by pc88mxer (Vicar) on Nov 19, 2007 at 17:00 UTC | |
by ikegami (Patriarch) on Nov 19, 2007 at 17:11 UTC | |
by manav_gupta (Acolyte) on Nov 19, 2007 at 17:17 UTC | |
by manav_gupta (Acolyte) on Nov 19, 2007 at 17:22 UTC | |
by ikegami (Patriarch) on Nov 19, 2007 at 19:07 UTC | |
by pc88mxer (Vicar) on Nov 19, 2007 at 17:01 UTC | |
by manav_gupta (Acolyte) on Nov 19, 2007 at 17:12 UTC | |
|
Re: read flat file and build tree-like structure
by salva (Canon) on Nov 20, 2007 at 09:01 UTC |