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

Because '$HOME' is not a directory that exists? In perl , there is no variable $HOME, and single quotes do not inerpolate

I have no idea if your shell would interpolate $HOME into that commandline

  • Comment on Re^3: use, require, import and use arguments

Replies are listed 'Best First'.
Re^4: use, require, import and use arguments
by djihed (Novice) on Feb 26, 2011 at 15:16 UTC
    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.
      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;