ActivePerl discussion

Perl and ActivePerl usage questions; Perl practices and programming questions; Perl questions that don't fit other categories

Perl CVE-2013-1667 Input Rehashing Denial of Service Vulnerability

Does this apply to active perl I know that it applies to the more generic version of Perl 5.14.x. Will ActiveState release a product specific patch to address this issue?

Lookbehind error

In Perl 5.24

I am getting a "Variable length lookbehind not implemented" error in the following one line Perl script:

$patt = qr((?i)(?<!Administ)(?<!A)c);

yet when I run the following I get no error:

$patt = qr((?i)(?<!Abcdefgh)(?<!A)C);

I don't get this error when running Perl 5.8.

This looks a bug. How do I proceed? Does anyone have a workaround?


Difference in license Type


Is there any difference between the license type "ActivePerl Business Edition Silver" and "ActivePerl Business Edition" ?

Please clarify on this.

SOLVED: Pass windows paths from batch script to perl script (backslash double-quote issue)

When attempting to pass a windows path with spaces from a batch script, we have to double-quote the path string. A windows path usually ends with a backslash. Surrounding the path with double-quotes creates a trailing \", which is interpreted as double-quote. Example:

===== 8< test.bat ====
C:\perl\bin\perl.exe "%~dp0%"
===== 8< =====
print $ARGV[0],"\n";
C:\my test> .\test.bat
C:\my test"

Very Simple Need

I'm completely new to PERL, and here, so I don't know if this is even the correct forum for my need. If not, please let me know where to post.

I have a need that should be so super simple, yet I've been searching for every scripting product I can find but they're all so overwhelming the understand, and I'm in a great time crunch. Also this is for a zero budget volunteer organization that my wife uses. My need is as follows:

ActivePerl 5.24.1 32bit ExtUtils::CBuilder link fails on trivial XS; returns non-existent file

Key problem this code:

my $lib = $cb->link(
objects => [$obj],
module_name => 'Foo',
extra_linker_flags => [],

Returns Foo.dll, but not Foo.dll is generated. Key diagnostic appears to be:

n:/lang/perl/active~1/x86/v524~1.1/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible N:\lang\perl\activestate\x86\v5.24.1\lib\CORE/libperl524.a when searching for -lperl524

Expected behavior:

Perl Disable PMC


I am concerned about performance in our Perl applications. I see perl is probing a lot of pmc files that don't exist, which is causing for performance degradations (about 1.5 million probes on a small run). Is there any way we can disable the probes for the PMC files, or get a version of Activestate perl which has the option to disable them?


Windows Server 2012/Business Edition and need X12-Parser module

We are moving from a Windows server 2008 with perl v5.16.3 to Windows server 2012R2 with Business Edition perl v5.24.1. On the old machine we had a perl module called X12-Parser. I am now trying to install that module on the new machine. It fails and says it can't find any package that provides X12-Parser. It does exist but evidently only compatible with perl v5.10. Does anyone know if there is a replacement module, or how I can install this module so we can have our scripts run on the new server?

Any help is appreciated.

load_file:%1 is not a valid Win32 application

I get the following error,

Can't load 'C:\Program Files (x86)\Rational\TestRealTime/lib/perl/auto/TestRTUtil/TestRTUtil.dll' for module TestRTUtil: load_file:%1 is not a valid Win32 application at C:/Perl64/lib/ line 227.
at C:\Program Files (x86)\Rational\TestRealTime/lib/scripts// line
Compilation failed in require at C:\Program Files (x86)\Rational\TestRealTime/li
b/scripts// line 25.
BEGIN failed--compilation aborted at C:\Program Files (x86)\Rational\TestRealTim
e/lib/scripts// line 25.

Perl 5.24.2402 Event.dll requires missing DLL Perl522.dll

Hi all-

When I installed the latest 64-bit distribution of ActivePerl 5.24.2402, I got the following errors when trying to run a simple Tk gui.

You can replicate this via a simple Perl script that calls 'use Tk;'.

The error message is in two parts:

(1) GUI dialog from Windows indicating missing Perl522.dll
(2) Console message: Can't load 'C:/Program Files/Perl64/site/lib/auto/Tk/Event/Event.dll' for module Tk::Event:: load_file: The specified module could not be found ...