Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^9: Strawberryperl (Portable) impossible install module

by Cow1337killr (Monk)
on Jun 23, 2016 at 01:35 UTC ( [id://1166346]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Strawberryperl (Portable) impossible install module
in thread Strawberryperl (Portable) impossible install module

Well, I was thinking that one might get a Perl module from CPAN and it would install under some Perl versions and/or flavours, but not others.

  • Comment on Re^9: Strawberryperl (Portable) impossible install module

Replies are listed 'Best First'.
Re^10: Strawberryperl (Portable) impossible install module
by stevieb (Canon) on Jun 23, 2016 at 01:46 UTC

    Yes, use brewbuild for that regardless of platform (you have to download/extract the module first), or just perlbrew exec cpanm Module::Name if on *nix or berrybrew cpanm Module::Name if on Windows.

    The Test::BrewBuild software is more geared to developers, to test their own modules. However, it isn't limited to just devs, if you actually fetch the source of a module (and if you want distributed testing, have access to the git repo that contains the module's source). Either way, perlbrew, berrybrew are spectacular resources to ensure a module will install properly on a system Perl, without affecting the system perl. The distributed nature of Test::BrewBuild was an early idea, pushed forward by a request.

      Right. When I was beginning in Perl, I would think nothing of getting a CPAN module and trying it out in my one and only Strawberry installation.

      Now, I think first: Hey, what are the chances that this module will lead to a dead-end and clutter up my installation? So, yes, I do treat it like a "production" system now. Or, as Orson Welles said in the Paul Masson commercials: "We will sell no wine before its time."

        When experimenting with CPAN modules, I sometimes create a git repository in my perl5/lib root. I can then easily switch between different versions and combinations of modules, and just throw away all the changes if I'm not satisfied with the results. (An example was described in my blog).

        ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 20:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found