rje has asked for the wisdom of the Perl Monks concerning the following question:
I was thinking about this just a few minutes ago.
Is there a package which converts a text-format document into a hashtable? For example:
Name UPP Age Career Terms -------- ------ --- ---------- ----- Rejnaldi 765987 38 Citizen 6 Lisandra 6779AA 34 Noble 4 Kuran 899786 42 Marine 8
...Is slurped into
[ { Name => 'Rejnaldi', UPP => '765987, Age => 38, Career => 'Citizen', Terms => 6, }, { Name => 'Lisandra', UPP => '6779AA', Age => 34, Career => 'Noble', Terms => 4, }, { Name => 'Kuran', UPP => '899786', Age => 42, Career => 'Marine', Terms => 8, }, ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there a "Here Table"?
by BrowserUk (Patriarch) on Apr 07, 2015 at 21:07 UTC | |
by jdporter (Paladin) on Apr 07, 2015 at 22:09 UTC | |
by jdporter (Paladin) on Apr 08, 2015 at 02:57 UTC | |
by BrowserUk (Patriarch) on Apr 07, 2015 at 22:31 UTC | |
|
Re: Is there a "Here Table"?
by MidLifeXis (Monsignor) on Apr 07, 2015 at 20:58 UTC | |
|
Re: Is there a "Here Table"?
by erix (Prior) on Apr 07, 2015 at 21:07 UTC | |
|
Re: Is there a "Here Table"?
by LanX (Saint) on Apr 08, 2015 at 10:38 UTC |