And yet you are voluntarily using Perl, the result of puting sh, sed and awk in a mixer and adding some other things coming from who know where, who want to know where. The only language able to give me an emotional response. An unpleasant one.Ugg JS and Python mentioned in the same thread.
I only use JS long enough to call my Perl code, and I gave up in PY when I was told to use a spreadsheet module to make it pretend to build an array.