This PR creates an api option to address some wierdisms of the old API without breaking backward compatibility.
The lookup_*_file methods do not require the subdir component be passed in and will instead use the name attribute.
By default Path::Tiny will be used instead of Path::Class. IMO Path::Tiny is better most of the time.
This PR also adds some new features not related or tangentially related to the API change:
the path_class option has been added to change the returned path class object type. You can use one of the pre-canned classes Path::Class, Path::Tiny, File::Spec, or you can roll your own with a code or array reference.
The intent of this PR is to ultimately address #14 #16 and maybe #15
This PR creates an
api
option to address some wierdisms of the old API without breaking backward compatibility.name
attribute.Path::Tiny
will be used instead ofPath::Class
. IMOPath::Tiny
is better most of the time.This PR also adds some new features not related or tangentially related to the API change:
path_class
option has been added to change the returned path class object type. You can use one of the pre-canned classesPath::Class
,Path::Tiny
,File::Spec
, or you can roll your own with a code or array reference.The intent of this PR is to ultimately address #14 #16 and maybe #15