Questions tagged [strawberry-perl]

Strawberry Perl is an open source community driven distribution of the Perl programming language for the Microsoft Windows platform.

Strawberry Perl is a environment for MS Windows containing all you need to run and develop perl applications. It is designed to be as close as possible to perl environment on UNIX systems.

Resources:

250 questions
8
votes
3 answers

How do I set up Strawberry Perl in MSYS?

I have Strawberry Perl and have msys Perl 5.6 removed. Now perl will invoke Strawberry (due to PATH env) but how do I map the perl command in .pl or other Perl script files which have #!/bin/perl or #!/usr/bin/perl shebang lines? I was thinking of…
twinkletoes
  • 85
  • 1
  • 6
8
votes
1 answer

Windows script auto-update replacing current executable with exec?

I'm trying to build a quick auto-updater in Perl Windows. I've noticed that when I call cpanp to install the update of the package it fails to install a new version of the script because the script is currently running. I'm calling cpanp with…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
8
votes
3 answers

What are the differences between Vanilla Perl and Strawberry Perl?

Strawberry Perl is "Open Source Perl for Windows that is exactly the same as Perl everywhere else". Vanilla Perl "provides a Perl distribution that is as close to the Perl core as possible." Strawberry Perl is built on Vanilla Perl. Both…
Sean McMillan
  • 10,058
  • 6
  • 55
  • 65
7
votes
2 answers

How to change @INC in Strawberry Perl?

How can I change @INC permanently, without changing my scripts, in Strawberry Perl? I'm aware of -I, but don't want to invoke that switch every time.
Tim
  • 13,904
  • 10
  • 69
  • 101
7
votes
2 answers

Executing Perl script inside IntelliJ Idea

I'm trying to use IntelliJ Idea to work on a perl script. I installed the perl plugin for IDEA as well as Strawberry Perl for Windows (10). The syntax highlighting and other features work, but this is what happens when I try to run the…
Menasheh
  • 3,560
  • 3
  • 33
  • 48
6
votes
3 answers

What is the proper way to access BerkeleyDB with Perl?

I've been having some problems with using BerkeleyDB. I have multiple instances of the same code pointed to a single repository of DB files, and everything runs fine for 5-32 hours, then suddenly there is a deadlock. The command prompts stop right…
VolatileRig
  • 2,727
  • 6
  • 32
  • 44
6
votes
1 answer

What part of Perl does not like NTFS Junctions?

I like the Vista style for pathing, so on a XP machine I've created NTFS junctions C:\Users -> C:\Documents and Settings and ~\Documents -> ~\My Documents, so that I only ever have to write one style of path C:\Users\me\Documents. However,…
Axeman
  • 29,660
  • 2
  • 47
  • 102
6
votes
3 answers

How can I make Strawberry Perl's cpan(1) find perl?

I'm having trouble installing Template module with Strawberry Perl. cpan Template yields the following: Writing Makefile for AppConfig C:strawberryperlbinperl.exe: not found dmake.EXE: Error code 255, while making 'blib\lib\.exists'` I haven't…
6
votes
1 answer

How do I install Net::Pcap for Strawberry Perl in Windows 7?

I try to install Net::Pcap in Windows, but it gives the following error messages: c:\P P> cpan cpan> install Net::Pcap socket.h patched... ok looking for -lwpcap... yes checking for pcap_lib_version() in -lwpcap... no - - - - - - - - - - - - - - -…
P P
  • 137
  • 3
  • 13
5
votes
1 answer

How to read a file with long file name with unicode in Strawberry perl not using Win32::Unicode::File?

I have a file located in a directory, with danish characters in it, on a Windows XP machine. I use Strawberry perl and would like to read this file. The following code works fine: use Win32::Unicode::File; # Some code left out.... $fname…
Dr. Mike
  • 2,451
  • 4
  • 24
  • 36
5
votes
2 answers

How do I upgrade strawberry perl without wiping \perl\site\lib\ and \perl\site\bin\?

I downloaded the 5.12.3 installer to upgrade my 5.12.1 installation. After installing 5.12.3, my previously installed cpan modules are gone. Is this expected behavior? Should I be backing up my library before upgrading to prevent this?
Oesor
  • 6,632
  • 2
  • 29
  • 56
5
votes
2 answers

Can I embed Strawberry Perl in a VC++ 6.0 compiled application or use Inline::C with the compiler mismatch?

I am looking at embedding perl 5.10 in a large C++ application compiled with VC++ 6.0. This leads to two questions. 1) Is it a bad idea to simply use Strawberry Perl as a dependency rather than compile my own perl with VC++ 6.0? Would Strawberry…
5
votes
3 answers

Eclipse CDT Debug not in executable format: File format not recognized after strawberry installation

Maybe I'm missing something obvious since I searched the internet for quite a while but could not find a solution for the following problem: I'm using Eclipse Kepler SP2 (Build id: 20140224-0627) with CDT and MinGW as compiler backend. Debugging C…
OBu
  • 4,977
  • 3
  • 29
  • 45
5
votes
2 answers

Do I need the Perl bin directory in the PATH to run perl programs (on Windows)?

Traditionally, I would just have C:\perl\bin in my PATH variable, but due to version conflicts I would like to keep different perl versions at locations C:\Perl-versionXY\bin and just execute my Perl scripts via directly invoking…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
5
votes
2 answers

installing wxPerl on strawberry

I am trying to install wxperl on strawberry. I can't install Alien::wxWidgets. I tried everything I can think of. Usually I get an error like this one: Creating library file:…
mokko
  • 186
  • 9
1
2
3
16 17