Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by stefbv (Curate)
on May 18, 2013 at 09:39 UTC ( [id://1034082]=note: print w/replies, xml ) Need Help??


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

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.

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

    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

      Sure it was not

      Well, obviously I have trouble expressing myself in English. :)

        Sure it was not
        Well, obviously I have trouble expressing myself in English. :)

        Sure broke my symmertrical sure streak :) Oh well :D

Re^6: Citrus Perl: problems trying to load additional modules
by HelenCr (Monk) on May 18, 2013 at 10:53 UTC
    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.

      Here is what I (would) do to install modules in Citrus Perl:

      From the Citrus Perl installation path run bin/citrusterm.bat to open a terminal, install App:cpanminus and use it to install all the needed modules. For some modules cpanm may fail, try again with cpan.

      % cpan App::cpanminus % cpanm Module::Name

      That's all.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-28 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found