in reply to Re^3: use, require, import and use arguments
in thread use, require, import and use arguments

It does - it's just an example. If it doesn't suppose that $HOME is replaced by some real existing directory. The reason it dies is because foo is called first in the block above import.
  • Comment on Re^4: use, require, import and use arguments

Replies are listed 'Best First'.
Re^5: use, require, import and use arguments
by Anonymous Monk on Feb 26, 2011 at 15:28 UTC
    The reason it dies is because foo is called first in the block above import.

    Soo, um, don't do that then? :)

    eval { foo(); }; # I die, don't call me without a full path to real di +rectory return 1;