[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: require() relative to calling file
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 7 Feb 2017 15:09:23 +0200
2017-02-07 12:59 GMT+02:00 Javier Guerra Giraldez <javier@guerrag.com>:
> What I would like is that package.searchpath() would replace another
> character, like '$' with the directory where the function calling
> 'request' resides. a crude implementation:
...
> function package.searchpath (name, path, sep, rep)
Over to you, supporters of the notion. Javier has reduced the problem
to a mere monkeypatching of one routine in the package library.
Try it out. Do you like it?
- References:
- require() relative to calling file, tobias
- Re: require() relative to calling file, Sean Conner
- Re: require() relative to calling file, Russell Haley
- Re: require() relative to calling file, Scott Morgan
- Re: require() relative to calling file, Russell Haley
- Re: require() relative to calling file, Sean Conner
- Re: require() relative to calling file, Russell Haley
- Re: require() relative to calling file, Sean Conner
- Re: require() relative to calling file, Russell Haley
- Re: require() relative to calling file, Stephen Irons
- Re: require() relative to calling file, Javier Guerra Giraldez