Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Citrus Perl: problems trying to load additional modules

by stefbv (Curate)
on May 18, 2013 at 08:49 UTC ( #1034077=note: print w/replies, xml ) Need Help??


in reply to Re^2: Citrus Perl: problems trying to load additional modules
in thread Citrus Perl: problems trying to load additional modules

For Citrus Perl, but won't interfere with DWIM Perl?

  • Comment on Re^3: Citrus Perl: problems trying to load additional modules

Replies are listed 'Best First'.
Re^4: Citrus Perl: problems trying to load additional modules
by Anonymous Monk on May 18, 2013 at 09:29 UTC

    For Citrus Perl, but won't interfere with DWIM Perl?

    Why would it do that?

    You said Remove Citrus Perl from the path and use bin/citrusterm.bat to open a terminal.

    Citrusterm doesn't interfere with citrusperl :)

    dwimperl, which is just a build of strawberryperl, adds strawberry perl to path

    citrusterm opens up cmd.exe, and calls citrusvars, which adds citrus FIRST in path

    strawberryperl should no longer interfere

    Although I always patch and rereun pl2bat for safety, see Fix_pl2bat

      Yes, I understant that Citrus Perl would work properly, even if left in the PATH, thanks to citrusvars.bat. My question was if DWIM Perl would still work, if both are left in the PATH.

        Yes, I understant that Citrus Perl would work properly, even if left in the PATH, thanks to citrusvars.bat. My question was if DWIM Perl would still work, if both are left in the PATH.

        Sure it was not :)

        DWIM perl will still work, but it won't get called when you type perl.exe -V from the current session, because citrus is first in path

        all citrusterm/citrusvars is for current session only

        Now if you call explicitly absolutedwimperlpath\cpan.bat , it won't call the dwimperlcpan because default pl2bat uses first perl in path ....

        Not sure that this has much to do with OPs situation

        stefbv: DWIMPerl is not in the PATH (although a DWIMPerl installation exists on the machine).
        Like I said in the OP, I went religiously through the Citrus Perl installation steps, including citrusvars.bat.

        Here is the current PATH (newlines inserted for readability):

        It refers to Citrus Perl only.
        It seems like somehow CPANPLUS decided to locate its extraction top directory (tree-top) (for all Perl versions) below the DWIMPerl top directory.

        But that is not supposed to influence installing modules.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-10-26 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?