in reply to Re^3: Converting hash into js object properties
in thread Converting hash into js object properties
use Data::Dumper; $Data::Dumper::Pair = ' : '; $Data::Dumper::Quotekeys = 0;
The keys are not quoted using this method. Only problem now is that the true values are printed as literals with 'true'.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Converting hash into js object properties
by haukex (Archbishop) on Nov 21, 2017 at 16:35 UTC | |
by nysus (Parson) on Nov 21, 2017 at 16:40 UTC | |
by haukex (Archbishop) on Nov 21, 2017 at 16:49 UTC | |
by nysus (Parson) on Nov 21, 2017 at 17:04 UTC | |
by haukex (Archbishop) on Nov 21, 2017 at 20:51 UTC | |
| |
by nysus (Parson) on Nov 21, 2017 at 16:57 UTC | |
by Your Mother (Archbishop) on Nov 21, 2017 at 16:48 UTC |