Basic FAQ: how to setup local 'environment' to build CPAN modules under strawberry
I'm new the the strawberry distro, and need to install a bunch of CPAN modules. It doesn't seem that it comes with the necessary build utils to do so. Is there a single-install that would install all the needed utils to build the CPAN modules? I read this is also a place to make suggestions about things to include for strawberry distros...(?) Maybe this would be a good thing to include as an optional install (maybe default, w/option to turn it off?) As it is, can anyone give me a point to the needed utils for building CPAN modules on Win32 (or Win32). All that said -- my real preference would be that all of strawberry and the modules work on Win64, since I don't want to be limited to the 32-bit sections of the registry and 32-bit redirections in the file system. I used to do all of my Win Sys Admin (backups, indexing, cleanup, etc...) in pearl scripts using Cygwin, but ever since moving to Win7, they all broke, and compat procedures are a hodgepodge, with gotcha's appearing at the most inopportune times. So my preference would be to have such a fully fleshed out system in x64. My biggest itch is in path separators. While many Win utils handle / as well as \, some don't. But even some (many?) system calls or api calls handle either (registry accesses); apparently MS-internal programmers found using '\\' all over the place as noxious as anyone else. Given most of their code was in 'C'-syntax compat languages. But all that aside, right now, I just need a set of utils I can toss together with Strwbry-Perl, to get me up and running w/CPAN. A 64-bit BASH replacement would be REALLY appreciated, since there's already a 64-bit 'Console2' version that could be using it -- with that, anything I call can run in 64 (or 32-bit) mode, though by default, any progs I call from the 32-bit bash get invoked in a 32-bit form (if they work at all). Many times, I am tracking down problems in scripts and the problem is that they stem from the 32-bit shell having invoked a 32-bit version of some program or worse -- some registry or file subtree that is redirected for 32-bit progs -- making me waste time trying to figure out why it isn't giving me the 'right' answer as I look at the tree with other 64-bit tool*face-slap*. Thanks in helping me come up to speed. VERY appreciated! Linda
Re: Are Windows users using the PowerShell or any other command line?
` Gabor Szabo wrote: Thanks for all the responses. The funny thing is that I originally was wondering if people are using the Power Shell as a Shell (instead of cmd) but most of the responses were regarding writing scripts in Power Shell. I just generally use 'bash'. I use the cygwin version, it does well for many things.
Re: Regarding the Strawberry Perl website
'Accessing the site through google?' as in doing a search and going to the site? or getting some preview of the site while on google? Maybe they fixed it...but I don't see anything amiss when I go to the site. Frank Reidar wrote: The site has been compromised and displays a tonne of spam links when accessing the site through Google. Whoever is the webmaster must fix it ASAP.
Re: Regarding the Strawberry Perl website
Jan Dubois wrote: On Wed, 26 Oct 2011, Linda A. Walsh wrote: 'Accessing the site through google?' as in doing a search and going to the site? or getting some preview of the site while on google? Maybe they fixed it...but I don't see anything amiss when I go to the site. No, it is not fixed in Google search results; I just did a Google search and still get all the spam entries. Screenshot: https://skitch.com/jandubois/gd5q5/strawberryperl-google-search Cheers, -Jan The problem is in google's cache... If you even FOLLOW one of those links, they point to the strawberry perl site, but if you look at the page source that those links point to -- there is no reference to viagra or any such... Then again, I find it amusing that someone sought to target strawberry perl users with ED advertisements... sorta feel left out...no breast enhancement products? Will it make me last longer .. -- programming right?... not as young as you used to be? For pulling those all night programming/gaming sessions? ... Sign me up! ;-) It is a tad amusing...but unless it's hidden off in some randomly loaded file that only gets loaded for the google search engine, it doesn't appear to be around...but that is quite possible -- that it's ONLY there if I ID'd as the google searchbot...
Re: The shebang supplied with starberryperl/bin/cpan doesn't work with Git Bash
Andrew Pennebaker wrote: $ head `which cpan` #!/usr/local/bin/perl use 5.006; use strict; use vars qw($VERSION); use App::Cpan; $VERSION = '1.5902'; Maybe you didn't run some installer script -- it patches those files: head $(which cpan) #!/usr/bin/perl eval 'exec /usr/bin/perl -S $0 ${1+$@}' if $running_under_some_shell; #!/usr/local/bin/perl use strict; use vars qw($VERSION); use App::Cpan; $VERSION = '1.57'; --- Note, I get the above output on both my linux and cygwin box...