in reply to Re^12: Converting hash into js object properties
in thread Converting hash into js object properties

Now I just need to come up with some code to properly handle the quoting of the values.

In no way am i actually admitting that ive been known to steal code from Data::Dumper to do things like that, but that would be perl quoting

  • Comment on Re^13: Converting hash into js object properties

Replies are listed 'Best First'.
Re^14: Converting hash into js object properties
by nysus (Parson) on Nov 22, 2017 at 05:33 UTC

    Heh, I thought about doing that. Didn't want to steal the opportunity from myself to agonize over my goofy hack. :) I'll look now to see how a pro would do it.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks