http://www.perlmonks.org?node_id=646704


in reply to Eclipse and PERL

Either:

  1. use lib 'relative/path/to/module'; before the use Expect;
  2. - or -
  3. Right click on the Perl project. Select Properties. Change to the "Perl Include Path" panel in the pop-up. Should be obvious from there ...

The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Replies are listed 'Best First'.
Re^2: Eclipse and PERL
by RaduH (Scribe) on Oct 23, 2007 at 19:01 UTC
    Hi idsfa,
    I had tried your #2 before. I had added both the path to the Perl lib folder and to the current folder (bizarre as it may sound :) ) Didn't make a difference.
    I tried your #1 just now and there's no difference. This confirms one more time that the problem is not reaching the Expect module, but reaching other dependencies the Expect module is referring and I may have not installed on the windoz box I mentioned.
    I appreciate your advice. Like I said I really run the script on a Unix machine that seems to have everything installed and configured correctly (I have other questions related to using Expect now, but I still dig around by myself before asking for help).
    Thanks again,
    Radu
      the problem is not reaching the Expect module, but reaching other dependencies the Expect module is referring and I may have not installed on the windoz box

      Yes, that's the problem. And the gotcha is that those dependencies don't build on Windows :-)

      Cheers,
      Rob
        Yup, looks like the picture is complete now :) Thanks!