App-DPath

 view release on metacpan or  search on metacpan

bin/dpath  view on Meta::CPAN


=head2 Output formats

The following B<output formats> are allowed:

 yaml   - YAML::Any (default; not using YAML::Syck)
 json   - JSON
 xml    - XML::Simple
 ini    - Config::INI::Serializer
 dumper - Data::Dumper (including the leading $VAR1 variable assignment)
 flat   - pragmatic flat output for typical unixish cmdline usage

=head2 The 'flat' output format

The C<flat> output format is meant to support typical unixish command
line uses. It is not a strong serialization format but works well for
simple values nested max 2 levels.

Output looks like this:

=head3 Plain values

 Affe
 Tiger
 Birne

t/author-eol.t  view on Meta::CPAN

    't/testdata.dumper',
    't/testdata.empty',
    't/testdata.ini',
    't/testdata.json',
    't/testdata.tap',
    't/testdata.xml',
    't/testdata.yaml',
    't/yaml.t'
);

eol_unix_ok($_, { trailing_whitespace => 0 }) foreach @files;
done_testing;



( run in 1.708 second using v1.01-cache-2.11-cpan-64ef6c95b5d )