On Fri, 28 Jan 2011 17:26:07 +0100
Andy Wingo <wi...@pobox.com> wrote:

> On Wed 08 Dec 2010 12:45, Marek Kubica <ma...@xivilization.net>
> writes:
> 
> > Is there a way to add the current directory to the search path? I
> > think this should be default, just like in Python, otherwise
> > creating modules is a really big hassle.
> 
> As Andreas mentions, -L is the thing.  We don't add the current
> directory to the search path because it is a security issue, for the
> same reason that "." is not in $PATH.

What about "the same directory that the file is in"? The point is, when
writing scripts that become larger than one file, splitting them into
modules becomes immensely painful because the modules cannot find each
other.

regards,
Marek

Reply via email to