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
1
vote
2 answers

7Zip execute 2 extractions from 2 different subfolders (only first executes)

Okay I'm at a total loss. I am trying to extract all the XMLs and PDFs from a 7zip file. There is more stuff inside said file, so I just want to extract from the PDF folder and the XML folder. Leaving the file structure behind and not searching in…
gregnnylf94
  • 370
  • 3
  • 16
1
vote
2 answers

"Invalid argument" error when executing Perl on Windows 10

I have this perl script. perl -i -0pe 's/^Insert\s*(.*)\.png\s*\n([^\n]*)$/!\[\2](..\/figures\/\1-tn.png)/mg' */*.markdown This works fine with MacOS X, but when I execute this command on Windows 10, I have the following error…
prosseek
  • 182,215
  • 215
  • 566
  • 871
1
vote
1 answer

DWIM not installing when ActivePerl present

I have ActivePerl already installed but when now I am trying to install DWIM package, it is not openeing. Its installed but whenever I try to open the Padre IDE it gives the below error. . I read that we can have two Perl versions - ActivePerl and…
Mohit
  • 608
  • 4
  • 19
1
vote
0 answers

Installation of DBD::Oracle failing on spaces in path on Windows

Attempting to install DBD::Oracle in my Strawberry Perl (v5.16.3) on my Windows 2012 server. I'm using the command: cpanm DBD::Oracle Unfortunately, I believe it is failing because there is a space in the ORACLE_HOME path. Looking in the logs I…
1
vote
0 answers

How do I run a Perl program from anywhere on my computer?

I'm trying to run a Perl program - WyD.pl - on Windows 7. I have Strawberry Perl installed, and the WyD installation folder is located at C:\wyd.pl-0.2. Currently, running the program requires navigating to the WyD install directory in the…
Hashim Aziz
  • 4,074
  • 5
  • 38
  • 68
1
vote
0 answers

Why do I get "Can't locate loadable object for module IO in @INC" when I try to install PAR::Packer with Strawberry Perl?

I am trying to package a Perl script into a standalone form under Windows 7. The Perl distro is Strawberry Perl, and the script runs fine under that. When I went to install PAR::Packer, many of the unit tests failed with the same error. I have…
1
vote
1 answer

Strawberry Perl - Error Message: This package requires a C compiler

I have Strawberry Perl May 2016 (5.24.0) 32bit PortableZIP edition. I have only unzipped it; there are no changes otherwise. When i want to install modules with cpan i got the follow error: C:\Fhem\perl\bin>cpan -i Net::SSLeay Loading internal null…
l05443
  • 13
  • 2
1
vote
1 answer

Perl on Windows: 32bit or 64bit?

For several scripting tasks, our team currently uses Strawberry Perl 5.14 / 32bit and I'm looking into upgrading to the latest 5.24(+) version. I have always used the 32-bit version on Windows, and I found some references that the 32-bit version may…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
1
vote
1 answer

How to call system with VAR=$VAL passed to called program?

I'm using Strawberry Perl (latest) on Windows 7 (fully patched). I'm trying to invoke nmake to compile a library. The makefile is OK and I use it manually. Next I want to automate it. I'm having trouble getting some Perl correct. I have the…
jww
  • 97,681
  • 90
  • 411
  • 885
1
vote
0 answers

Errors reading PDF with CAM-PDF: use of uninitialized value in addition <+> line 667

I'm new to perl and I'm trying to read a pdf file using CAM::PDF here is my code: When I try to run this in the command prompt I get these errors: "Use of uninitialized value in addition <+> at C:/Strawberry/perl/site/lib/CAM/PDF.pm line 667 ...…
markdid
  • 11
  • 3
1
vote
1 answer

How to extract a subsequent word after pattern match using perl regex?

Sample line from a file: one two three uname whirlcano four five I want to extract the user names from multiple files foreach $file (@file_names) { open(my $fh, '<:encoding(UTF-8)', $file) or die "Could not open file '$file' $!"; while…
whirlcano
  • 43
  • 1
  • 9
1
vote
0 answers

cannot install Catalyst 5.9 on Windows 10

This is another attempt to be more direct with my question. I am having extreme difficult getting Strawberry Perl 5.22 64bit on Windows 10 ready for simple web development. I first started with cpanm Catalyst::Devel and that failed to install a…
nchuang
  • 83
  • 8
1
vote
0 answers

Using mysql from Perl in an Azure web app

I am using Azure to host a site which uses Perl and MySql. I have placed all my Strawberry perl files in the bin folder. I connect to Perl by adding a handler to the Perl executable which is located on my web app in…
Rob Sedgwick
  • 4,342
  • 6
  • 50
  • 87
1
vote
2 answers

Strawberry Perl negative child pid when forked

So I understand that Windows does not support the Unix fork-exec model and instead spawns processes. However, Strawberry Perl's fork emulation produces children with negative PIDs. These PIDs appear to be consistent, but I don't understand why they…
Greg Nisbet
  • 6,710
  • 3
  • 25
  • 65
1
vote
1 answer

trying to make frama-c work on Windows 7, using Perl or MinGW or

I want to use frama-c for static C code analysis. It already took me some effort to install it (hopefully) properly. The files are located at C:\CodeAnalysis\frama-c. I want to apply it via Windows console, e.g.: C:\CodeAnalysis\frama-c\bin\frama-c…
seesharp
  • 47
  • 11