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 5.14.2.1402-MSWin32-x64-295342? 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?

Problem with umlauts ÄÖÜ and UTF8

#!C:\Perl64\bin\perl.exe
use utf8;
use diagnostics;

binmode(STDOUT, ":utf8");
binmode(STDERR, ":utf8");

print "ÄÖÜ\n";

print "Perl Version: $]\n";
print "Perl executable: $^X\n";

The result is

?ä?û?£
Perl Version: 5.024003
Perl executable: C:\Perl64\bin\perl.exe

It works well with Cygwin, but not with Active Perl on Windows 10.

What is wrong there?
Why does it not work?

Thank you!

Is Perl dying?

I've been searching through the Internet for an active Perl forum and for the most part am very discouraged by the fact that there are no answers given.

This forum for instance: I hardly see any activities for weeks on end. And over at Perl Guru, same.

Is Perl a dying language?

sad :(

DBD-MySQL with SSL

Has anyone gotten DBD::MySQL to work with SSL in ActiveState Perl? I have the following code:

use warnings;
use strict;
use DBI;

my $dbname = "database";
my $host = "127.0.0.1";
my $port = "3306";
my $user = "username";
my $pass = "password";
my $cakey = "ca-cert.pem";
my $clientkey = "win-key.pem.nopass";
my $clientcert = "win-cert.pem";

my $dsn = DBI->connect("dbi:mysql:dbname=$dbname;host=$host;port=$port;mysql_ssl=1;mysql_ssl_ca_file=$cakey;mysql_ssl_client_key=$clientkey;mysql_ssl_client_cert=$clientcert","$user","$pass",

Perl 2017 CVE's: CVE-2017-12883, CVE-2017-12837, CVE-2017-12814

Hello,

We were asked by customers to upgrade Perl to version with fix for following vulnerabilities.

1 CVE-2017-12883 Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to disclose sensitive information or cause a denial of service (application crash) via a crafted regular expression with an invalid '\N{U+...}' escape.

Perl command line interpreter has stopped working

Hi,

Iam new to Perl programming, and just started grasping the concept of a scripting language. here is my problem i am using the win32::ODBC Perl Package to read a table data from sql database. but when the code reaches a specific line the perl crashes with the popup saying "Perl command line interpreter has stopped working". and the same set of code is used in many other places to retrieve data from db successfully.

Error log from Event Viewer

Faulting application name: perl.exe, version: 5.22.4.2205, time stamp: 0x599f96cf

DBD-mysql Problem

Hi!
This is a 'shot-in-the-dark' question but I'm at a loss otherwise.

I've been developing a Perl script that connects to a MySQL DB. For the past couple of days, everything has been swell. This morning, I ran another test and when I tried to connect to my DB, I got a message in Komodo saying 'No such file or directory'.

Since I don't believe in malicious fairies or gremlins, I must have accidentally deleted or changed something in the past 24 hours. I've tried reinstalling the package, etc. but nothing seems to work.

On Windows 7, @INC contains *nix Paths

Hello, I'm having an issue with a Windows instance of ActivePerl 5.24 x64.

As you can see, even though I'm on Windows, for some reason the @INC variable contains *nix paths.
I'm pretty sure that wasn't the case before but unfortunately I didn't take note of what I might have done that would change it.

Has anyone ever has such an issue before? What could be the cause and how could I fix it besides re-installing ActivePerl (which I can do but would rather not) ?

Please and thank you

Unsolvable error when running exe of fully functional perl

I have a little Perl script that works great in .pl form, but after running it through the PDK and launching the resulting .exe file I am faced with errors I cannot solve:

(removed by Moderator)

Installing modules: Getting "Cannot find 'bzip2' program ..." when installing modules

hi,

Hoping for some help. I have installed the 64 bit version of the Perl community edition onto my machine (clean install). I keep getting the error below when trying to installed various modules (for example, "cpan I18N::Langinfo")

CPAN.pm needs the external program bzip2 in order to handle 'C:\Perl64\cpan\sources\authors\id\S\SH\SHAY\perl-5.26.1.tar.bz2'

Any ideas why bzip2 is not found? Do I need to install this separately from somewhere (I have never had to do so in the past on other machines).

Any suggestions welcome.

Many thanks,
Simon.