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
Shortcuts for ./lib and ../lib #6338
Comments
From @JuerdBecause putting bundled libraries in ./lib or ../lib relative to the I'm thinking of: use lib :parentdir<lib>; and: use lib :bindir<lib>; With defaults to 'lib' so that they can also be written as: use lib :parentdir; Or maybe even just something that simply includes both ./lib and ../lib: use lib :dwim; :-) Juerd Waalboer <juerd@tnx.nl> |
From @zoffixznetOn Thu, 08 Jun 2017 16:39:40 -0700, juerd@tnx.nl wrote:
Thank you for the suggestion, however, I'm going to reject the ticket. The proposed syntax gives entirely new meaning to syntax for export tags we already This is the perfect feature to make a module out of, since you're already `use`ing something. use lib-parent 'lib'; I would suggest you go with that approach. $ tree 1 directory, 2 files $ cat bar/Foo.pm6 |
The RT System itself - Status changed from 'new' to 'open' |
@zoffixznet - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#131541 (status was 'rejected')
Searchable as RT131541$
The text was updated successfully, but these errors were encountered: