Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Path::Tiny tempdir, tempfile and rootdir #277

Open
schwern opened this issue Jul 28, 2014 · 0 comments
Open

Integrate Path::Tiny tempdir, tempfile and rootdir #277

schwern opened this issue Jul 28, 2014 · 0 comments

Comments

@schwern
Copy link
Contributor

schwern commented Jul 28, 2014

$scalar->path can be called on any scalar to turn it into a Path::Tiny object. What's missing is the ability to declare temp directories, temp files and the root directory. These are all class methods of Path::Tiny.

perl5i needs a way to make them available.

Having the user call Path::Tiny class methods is unacceptable as it exposes the Path::Tiny class and prevents us from providing overridden methods in the future.

They could be functions, but proliferation of exported functions is discouraged.

They could be perl5i class method calls, but we haven't discussed that mechanism yet.

Discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant