-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Just noticed the examples for both CODEREF and ARRAY have syntax errors:
my $xdg = File::XDG->new(
name => 'foo',
# equivalent to path_class => 'Path::Tiny'
path_class => sub { Path::Tiny->new(@_),
);# equivalent to path_class => 'Path::Class'
my $xdg = File::XDG->new(
name => 'foo',
path_class => [
sub { Path::Class::File->new(@_) ),
sub { Path::Class::Dir->new(@_) },
],
);Metadata
Metadata
Assignees
Labels
No labels