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
0 answers

nothing returned from win32::gui::LoadImage

I am using Strawberry Perl (v5.16.3) built for MSWin32-x86-multi-thread and win32::GUI on a Microsoft Windows 7 system. I am using Eclipse/EPIC to write and test the code. I am trying to display a picture / bitmap / Icon / Cursor. Have tried all 3,…
1
vote
2 answers

No error indicated for failed operation in Perl DBI module

I'm executing a script similar to the following and when there is a failed operation, the execute function returns an undefined value, so I can detect that it failed, so that's good. However, I find that err() and errstr don't return anything. I was…
Robert Dodier
  • 16,905
  • 2
  • 31
  • 48
1
vote
1 answer

Installing XML::Tidy in Strawberry Perl

When trying to install XML::Tidy in Strawberry Perl C:\>perl --version This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the…
M.W.
  • 43
  • 4
1
vote
0 answers

Connecting to Oracle from Strawberry Perl

I installed DBD::Oracle from CPAN and tried to use the code below to connect to Oracle DB: use DBI; use DBD::Oracle; BEGIN { $ENV{ORACLE_HOME} ='C:\instantclient_11_2'; $ENV{'NLS_LANG'}='WE8ISO8859P15'; } my $dbh =…
smith
  • 3,232
  • 26
  • 55
1
vote
4 answers

How to install GD library with Strawberry Perl

I am attempting to install the GD library using Strawberry perl and GnuWin32. However, when I enter "install GD" in the CPAN shell, the following message appears: 'gdlib-config' is not recognized as an internal or external command, operable program…
indiguy
  • 505
  • 1
  • 9
  • 21
1
vote
3 answers

Having trouble locating memory leak in Perl

I'm experiencing a memory leak (I think) in this snippet of code: if (ref($init{'time-layout'}) eq 'HASH') { my %time= % {$init{'time-layout'}}; my @times= @ {$time{'start-valid-time'}}; if (ref($init{parameters}) eq 'HASH') { …
Dean MacGregor
  • 11,847
  • 9
  • 34
  • 72
1
vote
1 answer

How to pass an open TCP socket from Perl to Windows application as stdin and stdout

I'm trying to pass an open TCP socket connection from a Perl program as the stdin and stdout to an external application on Windows, similar to what inetd in the Unix world does. What I have tried: "Replace" stdin and stdout by the socket using open…
Joni
  • 108,737
  • 14
  • 143
  • 193
1
vote
2 answers

Installing modules with Strawberry Perl 5.16.2.2 (64bit)

I used to use activestate perl, but moved to strawberry perl just now because I want to install those less common used packages. However I'm having problems installing modules with Strawberry Perl 5.16.2.2 (64bit) on my Windows 7. Having installed…
xpt
  • 20,363
  • 37
  • 127
  • 216
1
vote
2 answers

Issue installing PAR::Packer with strawberry Perl

I'm struggling for two days now to get the PAR::Packer module installed. I'm new to CPAN, and this is the first module I want to install, so I first thought it is me. But I reinstalled strawberry Perl a few times now and also used an older versions.…
Siegfried Hepp
  • 157
  • 2
  • 7
1
vote
1 answer

Installing Bio::Restriction::Analysis in Strawberry Perl

I am attempting to install the module Bio::Restriction::Analysis in Strawberry Perl (v5.16.1.1 32 bit) using CPAN. However, it looks like it won't pass a few tests. Portions of CPAN's output are below. Running Build test t/Align/AlignStats.t…
indiguy
  • 505
  • 1
  • 9
  • 21
1
vote
1 answer

Perl Dancer Session Cookies

I am just starting out with Dancer::Session::Cookie, and I have run into some behavior that I am not expecting. I put together a simple Perl Dancer app to authenticate using Authen::Simple::ActiveDirectory. My routes are below. package auth; use…
indiguy
  • 505
  • 1
  • 9
  • 21
1
vote
1 answer

path to temp directory in cpan

I'm trying to install Tk module for perl in windows with cpan. Problem is: Checking if you have Test::More 0 ... Yes (0.98) Checking if you have Encode 0 ... Yes (2.44) Building Tk-804.03 ... dmake.exe: Error: -- `C:\Documents' not found, and…
msangel
  • 9,895
  • 3
  • 50
  • 69
1
vote
1 answer

How do I install perl's Text::Markdown::Discount on Strawberry Perl?

When ever I try to cpanp install Text::Markdown::Discount on Strawberry Perl I get cp lib/Text/Markdown/Discount.pm blib\lib\Text\Markdown\Discount.pm ( cd discount-2.1.2; CC='cc -fPIC' sh configure.sh; make ) The system cannot find the path…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
1
vote
3 answers

Can't install Carp-1.25

I have installed Strawberry Perl for Windows, "DWIM Perl" from: http://dwimperl.com/. I would like to use Carp. So I have downloaded Carp-1.25 from CPAN, un-TAR-ed it, and ran nmake. I get: Microsoft (R) Program Maintenance Utility Version…
Helen Craigman
  • 1,443
  • 3
  • 16
  • 25
0
votes
2 answers

Why won't Strawberry Perl remove these form feed characters?

I'm currently running Strawberry Perl on WinXP, and I'm trying to process a unix-formatted flat file. The flat file uses line feed characters to delimit fields, and form feed characters to delimit a record. I am trying to convert the FF to anything…
digital.aaron
  • 5,435
  • 2
  • 24
  • 43