Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: why isn't current dir (".") in my @INC ?

by tphyahoo (Vicar)
on Feb 22, 2007 at 14:27 UTC ( #601568=note: print w/ replies, xml ) Need Help??


in reply to Re: why isn't current dir (".") in my @INC ?
in thread why isn't current dir (".") in my @INC ?

Yes, sidhekin, mystery solved :)

Well, at least solved enough that I can get the job done.

If I move the "use" statements back so that CPAN is the last module "used", everything works as I want.

Why CPAN behaves this way, and whether it should be considered a bug or a feature, is still open I suppose.


Comment on Re^2: why isn't current dir (".") in my @INC ?
Re^3: why isn't current dir (".") in my @INC ?
by shmem (Canon) on Feb 22, 2007 at 14:59 UTC
    Why CPAN behaves this way, and whether it should be considered a bug or a feature, is still open I suppose.

    Well, CPAN is used to update your system installation, so it seems pretty sensible to me for it to remove '.' from the search path. It doesn't want modules from just somewhere (and "." is somewhere) for modules to satisfy their dependencies, but only from perl's libdirs.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://601568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2014-08-20 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (113 votes), past polls