Hello all,

I have a script that uses Exception::Class 1.26, which depends on
Devel::StackTrace 1.20.  Devel::StackTrace 1.1901 is installed on the
filesystem, and 1.20 is packaged in a repo which my script uses.  For some
reason, 1.20 is not used -- 1.1901 is used.  I was under the impression
that when using

    use PAR {repository => "$Bin/../par/repo"};

the coderef used to make PAR work was placed at the front of @INC, taking
precedence over modules on the filesystem.  Apparently this is a mistaken
assumption.  I'm getting the following error:

    Devel::StackTrace version 1.2 required--this is only version 1.1901 at
/tmp/par-dapatrick/cache-4fa123f584e126bec80b3194805bc62867da9d81/685aa93f.pm
line 192.

Do I need to be doing something more to make modules from my PAR repo take
precedence over modules installed on the filesystem?

-- 
Darian Anthony Patrick <[email protected]>

Reply via email to