The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parse::Path::DZIL - "dist.ini-style".paths.for.DZIL[0]

SYNOPSIS

    use v5.10;
    use Parse::Path;
 
    my $path = Parse::Path->new(
       path  => 'gophers[0].food.count',
       style => 'DZIL',
    );
 
    say $path->as_string;
    $path->push($path, '[2]');
    say $path->as_string;

DESCRIPTION

This path style is used for advanced Dist::Zilla INI parsing. It's the reason why this distribution (and related modules) were created.

Support is available for both hash and array steps, including quoted hash steps. Some examples:

    gophers[0].food.type
    "Drink more milk".[3][0][0]."and enjoy it!"
    'foo bar baz'[0]."\"Escaping works, too\""

DZIL paths do not have relativity. They are all relative.

AVAILABILITY

The project homepage is https://github.com/SineSwiper/Parse-Path/wiki.

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/Parse::Path/.

AUTHOR

Brendan Byrd <bbyrd@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Brendan Byrd.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)