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
4
votes
1 answer

In Strawberry Perl, what is the difference between perl\lib and perl\site\lib?

In the Strawberry Perl distribution for Win32, what is the difference between perl\lib and perl\site\lib? When CPAN modules are installed, are the files all stored in perl\site\lib by default? Is perl\lib reserved for modules that come with the…
Damien
  • 1,161
  • 2
  • 19
  • 31
3
votes
1 answer

Deliberately eating certain amount of memory using perl script

I need to simulate a memory-hungry process. For example, On a machine with 4.0 GiB, I need a process that would eat 3.2 GiB (give or take few MiB). I assumed it should be as easy as: my $mbytes = 3276; my $huge_string = 'X' x ($mbytes * 1024 *…
Alois Mahdal
  • 10,763
  • 7
  • 51
  • 69
3
votes
2 answers

WWW::Mechanize and strawberry perl

When I try to install WWW::Mechanize distribution from CPAN with strawberry perl ( v5.10.1) on windows 7 I get the below failure ? cpan> install JESSE/WWW-Mechanize-1.70.tar.gz Running make for J/JE/JESSE/WWW-Mechanize-1.70.tar.gz Checksum for…
smith
  • 3,232
  • 26
  • 55
3
votes
2 answers

Why is it discouraged to use PPM perl modules with Strawberry perl on Windows?

Can anyone shed light on why people would be making this comment? I've seen several threads on stackoverflow (like this one) where people say this. It seems to me that PPMs are nothing more than pre-compiled versions of modules that are just getting…
slm
  • 15,396
  • 12
  • 109
  • 124
3
votes
1 answer

Why is the Hashref passed to the Net::Ping constructor, set to an empty hashref after Net::Ping->new($args)?

What am I missing here? When passing arguments to Net::Ping like this, then $args and $args_copy will both be set to an empty hashref after initializing the constructor Net::Ping->new($args). use strict; use warnings; use Data::Dumper…
3
votes
1 answer

(Windows 10) Trying to Install Perl Modules both PPM and CPAN fail?

Currently running strawberry perl (latest release fresh install) on windows 10 This is what I get when I try running PPM PS C:\> ppm Attempt to reload Compress/Raw/Zlib.pm aborted. Compilation failed in require at…
Gennaro
  • 41
  • 4
3
votes
1 answer

Installing Net::Pcap using strawberry perl on windows 10

I am trying to install Net::Pcap (https://metacpan.org/pod/Net::Pcap) using edition of portable strawberry Perl v5.28.1 ,below are my steps : 1.I installed npcap (winpcap for windows 10 ) from https://nmap.org/npcap/#download 2.I downloaded the…
jsor
  • 97
  • 5
3
votes
2 answers

matching german umlaut with regexp correctly twice

i have a small script, which match via regexp if a string contains german umlauts like äöüß. In the first regexp match everything is working fine, but if i check the same string again it does not longer match correctly. The file itself is encoded as…
wreggyl
  • 93
  • 6
3
votes
1 answer

Strawberry Perl - Net::Server test hangs during install

While installing Net::Server, the tests hang on 4/5, and the install blocks until I send a break signal. I've tried googling, but haven't been able to find anything relevant. I'm using Strawberry Perl 5.12.2 on Windows XP Install output: cpan>…
Sam Johnson
  • 973
  • 9
  • 21
3
votes
1 answer

Strawberry Perl v5.30.0 not able to install Tcl (Windows 10)

I downloaded and installed strawberry-perl-5.30.0.1-64bit.msi from strawberryperl.com on my Windows 10 and tried to install Tcl module using cpan, but it fails for missing tclsh. What could be the problem? C:\Strawberry>cpan Tcl Loading internal…
andre___11
  • 31
  • 1
3
votes
1 answer

Strawberry Perl Firebird driver and module on Windows 10 64bit

I cannot seem to get the Firebird driver compiled and installed for usage in Strawberry Perl running on Windows 10 64bit. Steps I followed include: Download and install Strawberry Perl latest 32bit driver. run cpan from the console. Inside cpan use…
Letholdrus
  • 1,261
  • 3
  • 20
  • 36
3
votes
2 answers

Strawberry Perl and IIS Seemingly Configured, But 404 Page Received

I have been looking at a few posts on this topic, but I'm still confused. Strawberry Perl and IIS 8 are installed on our Windows 2012 R2 server. I know to add a Strawberry Perl.exe under ISAPI and CGI Restrictions, and finally corrected my mistake…
octopusgrabbus
  • 10,555
  • 15
  • 68
  • 131
3
votes
1 answer

How to force codeset cp1252 for output file in perl >=5.18 within Windows 10?

I need to make shure that the output file i create with my perl script has the codeset cp1252 and not UTF-8 because it will be used within a UNIX SQLplus framework which handles german "umlauts" not correctly when it insert that values into the…
drvolk
  • 35
  • 4
3
votes
2 answers

Using ActivePerl and Strawberry simultanously

I recently upgraded my version of client-side 64-bit ActivePerl from version 5.10.1.1007 to 5.22.2.2203, and am having tons of problems with it. I'd really rather jump to Strawberry, but I'll have to test it first on each of the critical Perl apps I…
Dean Hannotte
  • 51
  • 1
  • 4
3
votes
1 answer

Why does the -e file existence test always return false for a filename containing non-ASCII characters?

I am doing an existence check for a file containing non-ASCII characters in its name, using Perl. Even though the file exists, the check always returns false. I am using Strawberry Perl v5.24.0 on a Windows 10 machine. Here is my code: use…
N. Pamnani
  • 57
  • 1
  • 8