in reply to Re: json return value
in thread json return value
"perl does not have JSON as part of it's core module set"
True, but recent versions of Perl do have JSON::PP, which provides an almost identical API. The OP could consider switching to that if he doesn't have JSON and doesn't want to install it.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: json return value
by marto (Cardinal) on Jul 11, 2013 at 10:07 UTC | |
Re^3: json return value
by marto (Cardinal) on Jul 11, 2013 at 09:16 UTC | |
by Anonymous Monk on Jul 11, 2013 at 09:47 UTC | |
by marto (Cardinal) on Jul 11, 2013 at 09:53 UTC | |
by Anonymous Monk on Jul 11, 2013 at 10:56 UTC | |
by marto (Cardinal) on Jul 11, 2013 at 10:58 UTC | |
Re^3: json return value
by stenasc (Novice) on Jul 12, 2013 at 10:18 UTC | |
by marto (Cardinal) on Jul 12, 2013 at 10:34 UTC | |
by stenasc (Novice) on Jul 13, 2013 at 20:56 UTC | |
by marto (Cardinal) on Jul 15, 2013 at 08:18 UTC | |
by Anonymous Monk on Jul 13, 2013 at 23:18 UTC | |
by Anonymous Monk on Jul 13, 2013 at 23:19 UTC |
In Section
Seekers of Perl Wisdom