On 2/14/06, Adriano Allora <[EMAIL PROTECTED]> wrote:

> Can't locate ./ricerche/VALICO672.pl in @INC (@INC contains:

> the pathname is correct (the code in the separate file too), alla
> permissions are ok, but I cannot include it.

The dot at the start of the pathname means that the pathname is
relative to the current working directory. If you think the pathname
is correct, double-check that you're working in the right directory
when you reach the require.

Better yet, use absolute pathnames, not relative ones, to locate code.
That's for security reasons. You don't really want to ask for whatever
file of that name is available relative to the current directory; you
want to ask for a particular library file which doesn't depend upon
whichever is the current directory at the moment.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to