Questions tagged [activeperl]

ActivePerl is a distribution of Perl from ActiveState (formerly part of Sophos) for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX.

ActivePerl is an ActiveState's precompiled, supported and quality-assured Perl distribution, available for Windows, Linux, Mac OS X, Solaris, AIX, and HP-UX.

A free edition with only community support is available, as well as a supported Business and a Enterprise edition.

155 questions
112
votes
10 answers

Should I choose ActivePerl or Strawberry Perl for Windows?

I'm totally new to Perl, but I'd like to try it out. I read about two rival distributions available for Windows platform (I guess there's just Perl on other OSes :). Wikipedia says that Strawberry Perl comes with additional development tools to…
27
votes
2 answers

Why do I have to specify the -i switch with a backup extension when using ActivePerl?

I cannot get in-place editing Perl one-liners running under ActivePerl to work unless I specify them with a backup extension: C:\> perl -i -ape "splice (@F, 2, 0, q(inserted text)); $_ = qq(@F\n);" file1.txt Can't do inplace edit without…
Zaid
  • 35,070
  • 14
  • 81
  • 149
15
votes
3 answers

Why is there no ms\do_ms.bat after perl Configure VC-WIN64A?

I'm compiling OpenSSL with Visual Studio 2015. I have installed: Visual Studio 2015 on Windows 10. ActivePerl-5.24.0.2400-MSWin32-x64-300558. nasm-2.11.08-win32. OpenSSL source code by git clone git://git.openssl.org/openssl.git What I did…
gchen2101
  • 161
  • 1
  • 1
  • 6
11
votes
8 answers

How do I ignore the Perl shebang on Windows with Apache 2?

I have set up a local Perl web environment on my Windows machine. The application I'm working on is originally from a Linux server, and so the shebang for source .pl files look like so: #!/usr/bin/perl This causes the following error on my Windows…
Nick Bolton
  • 34,516
  • 66
  • 162
  • 230
10
votes
4 answers

In Perl, how can I generate random strings consisting of eight hex digits?

Using Perl, without using any extra modules that don't come with ActivePerl, how can I create a string of 8 characters from 0-F. example 0F1672DA? The padding should be controllable and exactly 8 characters is preferable. More examples of the kinds…
unixman83
  • 8,261
  • 10
  • 62
  • 98
9
votes
4 answers

May I use Strawberry Perl and ActiveState Perl simultaneously on one computer?

I used to delete my ActivePerl once, and all the installed modules were lost. So now I am very careful with this kind of issue. Due to some reason, I want to use Strawberry Perl now, while keeping ActiveState's ActivePerl in use. Will this cause…
Qiao Zhou
  • 149
  • 1
  • 4
9
votes
4 answers

@ARGV is empty using ActivePerl in Windows 7

I have the following Perl script. I am trying to run it in Windows 7 using ActivePerl: #!c:\Perl64\bin\perl.exe -w use strict; my $mp3splt_exe = 'c:\Program Files (x86)\mp3splt\mp3splt.exe'; my $mp3splt_args = '-o "@n @f" -g "r%[@o @N]" -f -t…
Nathan Fellman
  • 108,984
  • 95
  • 246
  • 308
9
votes
2 answers

Setting up sublime text 2 with activeperl?

New to using sublime text 2 and I'm wondering how to get it to point to the activeperl.exe (on win7). I'm testing out the compiler to make sure it works with something simple like: $x = 1; $print "$x"; But it gives me guff about how $x isn't a…
AI52487963
  • 1,137
  • 2
  • 12
  • 28
8
votes
5 answers

How can I install package in ActivePerl without Internet connection?

In ActivePerl, "ppm" installs a package from the Internet, "ppm install x.ppd" installs from a ppd file, but most CPAN packages are distributed as .tar.gz How do you supply modules to a machine running ActivePerl that doesn't have an Internet…
OJW
  • 4,232
  • 6
  • 35
  • 45
7
votes
4 answers

Why does STDIN cause my Perl program to freeze?

I am learning Perl and wrote this script to practice using STDIN. When I run the script, it only shows the first print statement on the console. No matter what I type in, including new lines, the console doesn't show the next print statement. (I'm…
Kevin
  • 11,714
  • 18
  • 66
  • 107
7
votes
4 answers

How to fix ActivePerl's PPM "database disk image is malformed" error?

I've recently installed ActivePerl 18 (v5.18.2) 64bits on Windows 8.1, and ppm keeps producing the same error : DBD::SQLite::db selectrow_array failed: database disk image is malformed. Here's an exerpt from my command prompt: ppm install…
Ilyas
  • 287
  • 1
  • 3
  • 12
6
votes
3 answers

Can't locate XML/LibXML.pm

I installed Strawberry Perl on my windows XP operating system. Later I tried to execute the .XML file but it's throwing error as below. I also tried Active Perl and also getting the same error. I am running the following code in the command…
venkatappa jv
  • 71
  • 2
  • 2
  • 3
6
votes
5 answers

How do I install XML::LibXML for ActivePerl?

I am new to Perl and I am using ActivePerl. I am getting the following error: Can't locate XML/LibXML.pm in @INC... I have tried everything but cannot find the steps to install the "correct" module for XML::LibXML. Here is exactly what is going…
Jamey McElveen
  • 17,547
  • 25
  • 86
  • 126
5
votes
1 answer

cpan error: Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work

ActiveState Perl - 5.26 on Windows 10 - 64 bit. When I am trying to launch cpan from CMD - I see the following error: C:\Users\orenm>cpan Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES…
Oren Maurer
  • 129
  • 2
  • 6
5
votes
5 answers

How can I import constants into multiple modules in Perl?

I'm writing an app in Perl with several modules. I want to write some global constants that will be visible from everywhere, like this: #Constants.pm $h0 = 0; $scale = 20; And then use them without qualifying with main:: or Constants:: in several…
Lev
  • 5,897
  • 5
  • 24
  • 29
1
2 3
10 11