Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

hello , my question is similar to shushant , how can we install cpan via script itself so that user on another system might not have to install it manually

Replies are listed 'Best First'.
Re: installing cpan via script
by marto (Cardinal) on Jul 03, 2013 at 20:40 UTC

    Perhaps you want to package an application and all the required modules. See pp and PAR::Packer.

      what exactly will pp do ? from what I know perl packages are useful for active perl not for strawberry perl , and on windows i am using strawberry perl

        Had you clicked the link I provided and actually read some of the text you'd know what pp does. The description section covers it all well. This is something completley different from packages acquired by PPM.

        what exactly will pp do ?

        Maybe you can read the linked documentation to figure out what pp can do. OTOH, strawberryperl comes with cpan, so what you're talking about suddenly becomes a mystery

Re: installing cpan via script
by Anonymous Monk on Jul 03, 2013 at 21:34 UTC
      don't we need installation of cpan in citrus perl for windows ?

        don't we need installation of cpan in citrus perl for windows ?

        What are you talking about? ActivePerl comes with cpan, StrawberryPerl comes with cpan, CitrusPerl comes with cpan