Data::Object::Name

Data-Object Name Class

use Data::Object::Name;

my $name;

$name = Data::Object::Name->new('Foo/Bar');
$name = Data::Object::Name->new('Foo::Bar');
$name = Data::Object::Name->new('Foo__Bar');
$name = Data::Object::Name->new('foo__bar');

my $file = $name->file; # foo__bar
my $package = $name->package; # Foo::Bar
my $path = $name->path; # Foo/Bar
my $label = $name->label; # Foo__Bar

This package provides methods for converting name strings, e.g. package names, file names, path names, and label names, to and from each other.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 8:

Unknown directive: =name

Around line 12:

Unknown directive: =abstract

Around line 16:

Unknown directive: =synopsis

Around line 32:

Unknown directive: =description