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
2
votes
3 answers

How can I install Lib::XML on ActiveState Perl 5.20?

I am trying to install Lib::XML in my ActiveState Perl Windows machine. perl 5, version 20, subversion 2 (v5.20.2) I tried the following: C:\Users\VENKATESH>ppm install XML-LibXML ppm install failed: Can't find any package that provides…
Venkatesh
  • 303
  • 1
  • 10
  • 22
2
votes
1 answer

Why does my ActivePerl program report 'Sorry. Ran out of threads'?

Tom Christiansen's example code (à la perlthrtut) is a recursive, threaded implementation of finding and printing all prime numbers between 3 and 1000. Below is a mildly adapted version of the script #!/usr/bin/perl # adapted from prime-pthread,…
Zaid
  • 36,680
  • 16
  • 86
  • 155
2
votes
2 answers

PerlApp-generated-exe can't Load packages

PerlApp generate perl script to executable. I get a problem using the PerlApp Here are the steps: Generate a perl script (e.pl) with the following 2 lines require Date::Manip; require Date::Manip::DM6; perlapp e.pl --add Date::Manip --add…
user3586164
  • 155
  • 1
  • 1
  • 10
2
votes
1 answer

New Strawberry Perl 5.18.2.2 looks for perl512.dll

I was attempting a switch from ActivePerl 5.12.2 (64 bit) to Strawberry Perl 5.18.2.2 (64 bit). All this on a Windows 7 Home Premium SP1 64 bit. The sequence I went through is as follows: 1) Installed Strawberry Perl side by side with the old…
MeirG
  • 333
  • 2
  • 14
2
votes
2 answers

How can I use Control D in Perl?

I am a beginner in perl. How can I use Ctrl + D to indicate that I am done with sending the inputs? I am using Active Perl in Windows and not in Unix.
daut
  • 49
  • 4
2
votes
3 answers

ActivePerl. .pl files no longer execute but open in Notepad instead

I have perl scripts which were running in Windows 7 just fine as of this morning. I made the mistake of using NotePad as the default for opening/editng my .pl files. Now, when I attempt to run the unedited .pl files from a DOS prompt, the script…
BigFunk59
  • 21
  • 1
  • 1
  • 2
2
votes
3 answers

how to connect SQL Server with perl

I know there is a similar question: Connect to SQL Server 2005 from Perl and do a SELECT , but I tried the accepted answer and am unable to get it to work. Assuming I have a db named test, and would love to do a select from mytable (select id,…
steven hong
  • 21
  • 1
  • 3
2
votes
5 answers

Why doesn't my Perl script find my module even after I adjust @INC with FindBin?

I want to be able to use a module kept in the lib directory of my source code repository, and I want the only prerequisite for a developer to use the scripts that I'm writing is to have a standard Perl installation, but I'm not sure how to…
Keith Bentrup
  • 11,834
  • 7
  • 49
  • 56
2
votes
1 answer

Installing Padre (IDE) on ActivePerl?

When I go to Padre's official download site: http://padre.perlide.org/download.html, I see that the only option in Windows is to download DWIM Perl 5.14.2.1 (v7) which comes with Strawberry Perl. What if I just want to use Padre the IDE on my…
Amelio Vazquez-Reina
  • 91,494
  • 132
  • 359
  • 564
2
votes
1 answer

Perl not executing command when in debugger or as a Win32::Daemon

Synopsis I execute a shell command from Perl and when run from the command line it works, but when run in the debugger it does not work. Running it as a Win32::Daemon shows the same behaviour. The Source Code I execute a command either with…
javex
  • 7,198
  • 7
  • 41
  • 60
2
votes
2 answers

Why don't my system calls work in the Perl program I wrap with pp?

I have a Perl/POE/Tk script running on Win32 ActivePerl that calls executables using system. I created an exe of the script using pp. I can unpack the exe and see the executables off the root of the "zip" file directory, but when I run the exe and…
jpolache
  • 305
  • 3
  • 12
2
votes
1 answer

Why don't I get output for this DBI/MySQL query?

I have written the following code in Perl. I have ActivePerl 5.14 for Windows 7. #!C:\perl64\bin\perl.exe -wT use strict; use warnings; use DBI; print "Content-type: text/html \n\n"; # MYSQL CONFIG VARIABLES my $driver = "mysql"; my $database …
Manikandan
  • 417
  • 4
  • 8
  • 18
2
votes
3 answers

how to pass parameters to perl script from batch file

So, I'm wondering how to pass parameters to a perl script from a .bat file in windows. I'm running active perl. If you're wondering why, I'm automating log indexing for awstats+iis. I can do this fine just typing the command directly: awstats.pl…
FlavorScape
  • 13,301
  • 12
  • 75
  • 117
1
vote
1 answer

Setting MajorUnit not working with Excel2007

I am building trending charts using Win32::OLE in active perl. I am trying to set the major axis unit so that I will get only 7 points in the x-axis. For that I am using the below code: with( $chart->Axes( xlCategory ), …
Kallol
  • 302
  • 4
  • 16
1
vote
1 answer

How do I use the Excel Union function through Win32::OLE?

I am using Win32::OLE to create charts from a excel datasheet in MSExcel 2010. The data are not in consecutive columns and I have a ds having the range of each data. I am trying to union all these data ranges to a single range object like : my…
Kallol
  • 302
  • 4
  • 16