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

Perl Error: Can't load GD.xs.dll for module GD

I've installed Strawberry Perl on my Windows Server 2019 machine and my Apache server keeps giving me the following errors when I try to run perl scripts: Can't load 'C:/usr/site/lib/auto/GD/GD.xs.dll' for module GD: load_file:The specified module…
1
vote
0 answers

Is there any module in Strawberry PERL to download/upload files using SFTP protocol from a Windows host?

I am trying to download the files from a remote MFT server using Strawberry perl but I do not get any output or error on the screen. I am using Strawberry PERL on a windows machine. I have tried using Net::SFTP::Foreign module but could not resolve…
1
vote
2 answers

How to capture the success/failure status of the PowerCenter workflow in PERL environment using pmcmd command line?

I am trying to run a Informatica PowerCenter workflow using pmcmd command from Strawberry Perl. I am failing the working in case of any errored data received in the source files. Once PowerCenter workflow fails, I want to send an email from Perl…
1
vote
1 answer

How to access mysql V8 on windows V10 with perl?

I'm mystified that this is so difficult. (1) With activate state perl v5.26.3 I use ppm.bat and search for mysql and DBD-mysql is missing. As per https://code.activestate.com/ppm/DBD-mysql/ I try ppm install DBD-mysql I get: ppm install failed:…
Siegfried
  • 695
  • 1
  • 9
  • 24
1
vote
2 answers

Missing "cpan>" prompt when running the CPAN shell in a Strawberry Perl environment under Cygwin

I've encountered a strange prompt problem when running the CPAN shell in a Strawberry Perl environment under Cygwin. When launching the CPAN using perl -MCPAN -eshell I get the following output: cpan shell -- CPAN exploration and modules…
knorv
  • 49,059
  • 74
  • 210
  • 294
1
vote
1 answer

How to print filtered output list of an external command in Perl?

I'm learning Perl. As an exersize, I try to print all installed Mojolicious modules. I'm using Strawberry Perl and don't have grep installed. My naive try is: perl -wE "for (sort `cpan -l`) { chomp; say if index($_, 'Mojo') == 0; };" I found out…
Miroslav Popov
  • 3,294
  • 4
  • 32
  • 55
1
vote
2 answers

Why do strings not match?

I have a Wordpad file from which I extract two strings and compare them. In this case they are both equal, but I cannot use the =~ expression to evaluate them. if($pin_list =~ /$lvl_list/){ do something} What I have tried in debug mode: Both…
Bret
  • 11
  • 2
1
vote
0 answers

Issues with installing CPAN module Date::Calc on strawberry perl in windows

I have been struggling in installing a CPAN module called Date::Calc on my windows machine having strawberry perl distribution(strawberry-perl-5.28.1.1-64bit). It does not give any error in any of the steps but ultimately I can't find that it has…
Fazle
  • 21
  • 3
1
vote
1 answer

Powershell not capturing perl's standard output

I have the following simple script in powershell (say under C:\Users\myusername\Desktop\tests\test.ps1) $counter = 0 while (1) { $counter++ if ($counter % 2) { [Console]::Error.WriteLine("($counter) This is an error") } else { …
eciii
  • 277
  • 3
  • 8
1
vote
2 answers

ora2pg - Strawberry perl - Can't load module Oracle.xs.dll

When i try to launch the following line : ora2pg -t SHOW_VERSION -c config/ora2pg.conf I get the following error : install_driver(Oracle) failed: Can't load 'C:\Strawberry\perl\site\lib/auto/DBD/Oracle/Oracle.xs.dll' for module DBD::Oracle:…
anais1477
  • 466
  • 1
  • 17
  • 36
1
vote
3 answers

Strawberry Perl CPAN cannot find path specified

C:\MyPerl>cpan install Parallel::ForkManager Loading internal logger. Log::Log4perl recommended for better logging Reading '\c\Users\Locals\.cpan\Metadata' Database was generated on Wed, 25 Jul 2018 22:55:14 GMT Running install for module…
1
vote
2 answers

Best way to deal with "Unescaped braces in regex" inside Perl regex

I recently started learning Perl to automate some mindless data tasks. I work on windows machines, but prefer to use Cygwin. Wrote a Perl script that did everything I wanted fine in Cygwin, but when I tried to run it with Strawberry Perl on Windows…
Asterdahl
  • 85
  • 6
1
vote
0 answers

How to install a missing Perl module (Net/SFTP.pm)?

I am trying to install some missing Perl modules because when I run my Perl script I am getting the error: Can't locate Net/SFTP.pm in @INC (you may need to install the Net::SFTP module) The first step I have taken to install this is: I have…
Rich
  • 177
  • 2
  • 3
  • 13
1
vote
2 answers

can't locate spreadsheet writeexcel.pm

i am getting Error can't locate spreadsheet writeexcel.pm in @inc @inc contains yes i know, it require the excel plugin, am using straberry perl, tell me where i find the excel plugin for PERL, and where shoukld paste that excel plugin
Bharanikumar
  • 25,457
  • 50
  • 131
  • 201
1
vote
1 answer

Error while installing Alien::XGBoost library

I'm unable to install the Alien::XGBoost library using the default installation of Strawberry Perl on Windows 10. I'm using the 64-bit version of Strawberry Perl. When installing Alien::XGBoost, I receive an error on line 49 in the…
Jelani
  • 705
  • 6
  • 25