e
(
T/TI/TIMKA/e-1.36.tar.gz, TIMKA, 2025;
MetaCPAN
)
perl -Me -e 'repl'
Invoke the Tiny::Prof:
$ perl -Me -e 'prof'
Convert a data structure to json:
$ perl -Me -e 'say j { a => [ 1..3] }'
Convert a data structure to yaml:
$ perl -Me -
]
=head3 j
JSON Parser.
my $bytes = j([1, 2, 3]);
my $bytes = j({foo => 'bar'});
my $value = j($bytes);
Encode Perl data structure or decode JSON with L<Mojo::JSON/"j">.
Convert P
erl object to JSON string:
$ perl -Me -e 'say j { a => [1..3]}'
Convert JSON string to Perl object:
$ perl -Me -e 'p j q({"a":[1,2,3]})'
=head3 x
XML parser.
my $dom = x('<div>Hello!