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

NAME

Data::Object::Path

ABSTRACT

Data-Object Path Class

SYNOPSIS

  use Data::Object::Path;

  my $path = Data::Object::Path->new('/tmp/test.txt');

  $path->absolute;

DESCRIPTION

Data::Object::Path provides methods for manipulating file paths and encapsulates the behavior of Path::Tiny.

METHODS

This package implements the following methods.

buildproxy

  # given $path

  $path->BUILDPROXY(...);

  # ...

The BUILDPROXY method handles resolving missing-methods via autoloaded. This method is never called directly.

origin

  # given $origin

  $path->origin();

  # Path::Tiny

The origin method returns the package name of the proxy used.

source

  # given $source

  $path->source();

  # Path::Tiny (object)

The source method returns the underlying proxy object used.

string

  # given $path

  $path->string();

  # ...

The string method returns the string representation of the object.