I'm putting together a presentation on Vanilla/Strawberry Perl for Perl Seminar NY.

I'd love to include some real-world examples of how people are using it.

As of this morning, there have been 1500 downloads of various Vanilla/Strawberry releases since my YAPC 2006 hackathon release in July. If you're one of those, please post a comment or send me an email with a couple lines about your experience.

Thanks!

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Are you using Vanilla/Strawberry Perl? Tell me about it!

Replies are listed 'Best First'.
Re: Are you using Vanilla/Strawberry Perl? Tell me about it!
by radiantmatrix (Parson) on Oct 02, 2006 at 15:25 UTC

    Well, I'd really like to try out Strawberry Perl, but the installer doesn't give me any options about where to install it. It doesn't even tell me where. Since the only Win32 box I use is for customer work and requires me to maintain a functional ActivePerl install, I won't install Strawberry unless and until that changes.

    I love the idea, and if it works it might replace ActivePerl for Win32 projects of mine in the near future (when it's out of alpha, and the installer is fixed).

    <radiant.matrix>
    A collection of thoughts and links from the minds of geeks
    The Code that can be seen is not the true Code
    I haven't found a problem yet that can't be solved by a well-placed trebuchet

      Everything is installed under "c:\strawberry-perl". Right now, directories are hard-coded at compile time, so users can't be given the option for where to install it. Soon, Perl will support a "relocatable @INC" with relative paths. See "Poll: Is your $^X an absolute path?" for some discussion.

      There's been a request or two for a version of Strawberry that gets installed to "c:\perl" to seamlessly replace ActiveState installs, but I'd rather wait for 5.8.9 and let people install it wherever they want.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

        That's very good to know. I get that this is alpha software, and that there are good reasons not to be able to choose installation paths right now; however, I'd still suggest that in your next release you tweak the installer to tell me "Ready to install into C:\Strawberry-Perl" or some such.

        Having now installed and played with it a bit, I noted one other thing that made me glad I'm so careful with pre-release software: even when running Strawberry Perl's perl.exe, my $ENV{PERL5LIB} is "C:\Program Files\ActiveState Perl Dev Kit 6.0\lib\". Fortunately, I didn't put Strawberry Perl in my path by default, but launch it from a Windows .CMD file, so was able to fix the issue:

        @ECHO OFF REM sperl.cmd - use Strawberry Perl for this session C:\strawberry-perl\perl\bin\perl -x -S "%0" %* goto ENDOFPERL #!perl #line 6 $basePath="C:\\strawberry-perl\\perl"; local $ENV{Path}="$basePath\\bin;".$ENV{Path}; local $ENV{PERL5LIB}="$basePath\\lib"; system($^X, @ARGV); __END__ :ENDOFPERL

        This is simple, and works on my system; I'm not sure it would work for everyone else. (And yes, I know that this isn't fixable, really, on your end -- ActiveState sets that env. var. during their install process.)

        <radiant.matrix>
        A collection of thoughts and links from the minds of geeks
        The Code that can be seen is not the true Code
        I haven't found a problem yet that can't be solved by a well-placed trebuchet
Re: Are you using Vanilla/Strawberry Perl? Tell me about it!
by Scott7477 (Chaplain) on Oct 02, 2006 at 18:23 UTC
    I found installing Strawberry Perl to be straightforward. I had a little bit of confusion as to where it had been installed initially. I haven't put SP through any heavy duty work but programs that I had built and run using ActiveState have worked fine for me. I wrote up this post using an early version of Grandfather's PM oriented editor running SP. BTW, my machine is available to run the CPAN Tester's installation mentioned over at Strawberry Perl CPAN Testers. Last I heard this was still a work in progress. Let me know if it is ready to go and I'd be happy to participate. IMO, it will be good to have an alternative to ActiveState for Windows use.

      This is great news. We're really looking for win32 testers. I am by no means the expert on how to set things up for CPAN smoking, though. Ideally, you should log on to irc.perl.org, join the #win32 channel and ask "chorny" (Alexandr Ciornii). He has contributed a huge amount of test results and corresponding RT tickets.

      Steffen

        Wrote first version of CPAN smoke tutorial. As it is wiki based, I will develop it further. Please ask questions there or by e-mail.
Re: Are you using Vanilla/Strawberry Perl? Tell me about it!
by duff (Parson) on Oct 02, 2006 at 14:10 UTC

    I don't really use it (I'm hardly ever on Windows) but I did download it, install it, installed a few modules from CPAN and ran a few programs. Everything went smoothly just as it does on my linux box. As someone who has used ActivePerl before, this came as a great surprise ;-)

Re: Are you using Vanilla/Strawberry Perl? Tell me about it!
by syphilis (Archbishop) on Oct 02, 2006 at 23:38 UTC
    Haven't yet tried it - and probably won't until it gives me a choice of install locations. I would also like to see an option to not have the path altered in any way. I have some questions (which don't really belong in this thread ... but I'll ask them anyway :-)

    I already have MinGW and dmake. Will installing Strawberry Perl have any impact on those existing MinGW and dmake installations ? (The option I'd prefer is to install Strawberry Perl, but not MinGW and dmake - and have Strawberry Perl use those pre-existing MinGW and dmake installations.)

    Does Strawberry perl come with a ppm utility ? There are times when that can be damned handy. For example, if you want to install a module (such as GD) that needs a C library, you first have to build (or otherwise acquire) the requisite C library - or you can just 'ppm install' the module and save yourself the hassle of chasing up the C library. There's a lot of ppm's out there and it would be good if Strawberry Perl at least provided us with the option of grabbing them.

    I see that GNU make is part of the Strawberry distro. Why is it provided ? (No big deal about this ... I'm merely curious.)

    Cheers,
    Rob

      Many good questions.

      I already have MinGW and dmake. Will installing Strawberry Perl have any impact on those existing MinGW and dmake installations ?

      Sadly, yes, maybe. Again, it's path dependent. I suspect that you could install Strawberry, and delete "c:\strawberry-perl\mingw" and "c:\strawberry-perl\dmake" and those directories from your PATH and it would work OK. Long term -- optional installation of those is probably a good thing. It's more backlog for the installer work queue, I guess.

      Does Strawberry perl come with a ppm utility?

      No. Strawberry Perl only comes with Perl modules on CPAN. If ActiveState ever makes PPM non-proprietary, perhaps it could be considered. In the meantime, external libraries are a problem and various options are being explored. (cf. RFC: Portable Alien Library System)

      I see that GNU make is part of the Strawberry distro. Why is it provided?

      Some external libraries want it instead of dmake or nmake. Notably, Alien::wxWidgets uses it. Given the special name for it ("mingw32-make"), it's not likely to be invoked by accident.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

        There is a PPM package on CPAN that could be used. However, this is quite old (version 2), and for people especially getting used to the ppm gui of the current ActivePerl, may take some getting used to with the different syntax.
Re: Are you using Vanilla/Strawberry Perl? Tell me about it!
by mikeock (Hermit) on Oct 02, 2006 at 16:59 UTC
    As others have noted, if I could install to a different location I would be more than willing to install.

    At this point I can't lose the the "known good" distro, activestate, that I have installed as I could lose development time.

    If the installer was updated to the ability to change install location, if I could leave current perl in place and install this as a secondary, I would be more than willing to isntall and use!

    My sig Sucks!
      At this point I can't lose the the "known good" distro, activestate, that I have installed

      To be very clear, Vanilla/Strawberry Perl do not install over the top of ActiveState. They install in their own, separate directories at the root of the "C" drive. The proper paths are added at the end of the PATH environment variable. Which Perl runs when you type "perl" at the command line will be based on the first perl.exe found in the path, which should continue to be ActiveState. Moreover, no file associations are changed.

      So, while I make no promises, I suspect that Strawberry Perl can live peacefully alongside ActiveState if you want to try it out. Just run it explicitly with the full path, like so:

      > \strawberry-perl\perl\bin\perl.exe -V

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

        xdg

        Thanks for the clarification... will have to try it out!

        My sig Sucks!