ActiveState Powered by ActiveState

ActiveState Community


Windows 2000 Pro / Server

Shouldn't the installation work?

I just downloaded and installed Active Perl 5.8.8 (MSI) for the first time on a Windows 2000 SP4 server. There were no error messages during the installation, so I assume everything went fine.

I installed AP to t:\Perl

My environmental variable PATH statement has this path included: t:\Perl\bin

The .PL, PLX, etc extensions are listed in the IIS Manager application mappings.

OK, so I try to see if ActivePerl works, so I open Internet Explorer and navigate to T:\Perl\eg\IEExamples and run index.htm

None of the examples there work.

redirecting output of a system-call

Hi

I have a script which uses system() to execute a SQL*Plus-Script against a Oracle database. This all works fine and I get the output I except in my Command Prompt window, e.g.
> print.pl
OUTPUT

When I however try to redirect the output to a file like this
>print.pl >out

it does not work. I see no output in the Command Prompt window, and the file out gets created but it is always empty.

I tried to set $AUTOFLUSH but it did not help.
Any ideas?

Thanks,
Thomas

Here is the content of the files mentioned:

print.pl
--------
system "sqlplus -s usr/pwd @ print";

Making soap service with PDK

OS: Windows 2000 Pro / Server

Hi,
i have being trying to get a perl script running as a soap service in the .net framework. I can complie the perl script with plc as a dll but dont know how to call this dll with the iis. Is it possible to call perl code directly with an asmx file like ?
<%@ WebService class="PerlPassword.PasswordServer" Language="perl" %>
..
..

Right now i am getting
Parser Error Message: 'perl' is not a supported language.

The .net is being used in IIS 5.0.

I would be grateful for any help

Making soap service with PDK

Hi,
i have being trying to get a perl script running as a soap service in the .net framework. I can complie the perl script with plc as a dll but dont know how to call this dll with the iis. Is it possible to call perl code directly with an asmx file like ?
<%@ WebService class="PerlPassword.PasswordServer" Language="perl" %>
..
..

Right now i am getting
Parser Error Message: 'perl' is not a supported language.

The .net is being used in IIS 5.0.

I would be grateful for any help

Thanks

Perl Command Line Help

I've installed Active State Perl 5.8.0 on a new PC for a new user. When running a Perl program from the command prompt, there are 2 command line input

c:\> script.pl input1 input2

When running the program is doesn't recognise any command line input. This script is running on 10 other PC's fine.

So far I've:

Added c:\perl\bin to the PATH environment variable
Registered .pl files to perl.exe in Windows
Reinstalled Perl

Backtick failing (fork?)

Hi,

I have a script using 5.8.7 on Windows 2000 (5.00.2195) where commands in backticks work for a few hours, then they don't.
$backtest = `tlist`;
if (!$backtest) {
`shutdown /l /r /t:0 /c /y`
}
doesn't result in a shutdown, and other commands with visible side effects don't seem to execute either.

open (CMD, "tlist|") and reading from also works for a while, then doesn't.

system() calls work, so my workaround right now is system("tlist > dumpfile"), then reading from the dump file.

DBD-ODBC and DBI 1.21

I've been forced to upgrade a server to Perl 5.10 to make it work with other modules. This machine is behind a firewall, and PPM cannot be made to work. I've had to download and install about 30 modules by hand, and have resolved all issues except one. DBD-ODBC is the last I need, and I'm stumped.

The issue is DBD-ODBC's requirement for DBI 1.21. A scan of these forums indicates that this is a popular problem. I've looked in the folders of downloadable zips for all Perl releases, and 1.21 does not exist. I've found:

5xx - 1.14
6xx - 1.34, 1.35, 1.37, 1.48
8xx - 1.35 - 1.602

Komodo IDE version 4.3.1 will not start

Help! Komodo won't start up when I try to run it. I recently updated 4.2 to 4.3.1 on my W2k-Sp4 box. Version 4.2 worked but not sure if 4.3.1 ever ran (I use 4.3.1 on an XP machine at work. I'm at home today so it could be the first time I've tried running 4.3.1 here).

ppm does not work after install

I just installed ActiveState Perl 5.10.0.1002 Win 32 and tried to launch ppm.

Either with the gui command or with the command line (ppm install PAR) I get the same error message :

ppm install failed: DBI connect('dbname=c:\winnt\PARAM╚~1\APPLIC~1/ActiveState/ActivePerl/1002/ppm-MSWin32-x86-multi-thread-5_10.db','',...) failed: unable to open database file(1)

I had exactly the same error with ActiveState Perl 5.8

The directory c:\winnt\... \1002 is correctly created, but nothing inside.

Apache Crashes

Apache crashes when I'm stepping through PHP.

I'm running Apache 2.2 on Win2k SP4 on my local machine. I have been using Zend's debugger for the last few months to bring up a Drupal (PHP) site, but it extracted a great price in system stability and programmer frustration. Giving in to a fit of anger, I have done my best to purge it from my system. I've installed a fresh version of PHP 5.2.2 (including patching in the the old libmysql.dll). My Drupal site still works fine, both locally and on my isp.

-->