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

Re^10: Strawberryperl (Portable) impossible install module

by stevieb (Canon)
on Jun 23, 2016 at 01:46 UTC ( [id://1166347]=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^11: Strawberryperl (Portable) impossible install module
by Cow1337killr (Monk) on Jun 23, 2016 at 02:04 UTC

    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,

        I read your blog entry. That is an interesting war story.

        *****

        I Googled “git”; https://git-scm.com/ was the first result.

        I Googled “perl git”; http://perl5.git.perl.org/perl.git was the first result. Up in the upper right-hand corner, there was a git icon with a hyperlink to https://git-scm.com/.

        So, I guess that is the way to start learning and using git.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-16 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found