Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> oas408 CGI/Perl problem

oas408 CGI/Perl problem

From: Tim van Dooremalen <dooremti_at_iquip.nl>
Date: Tue, 18 Jan 2000 13:29:07 +0100
Message-ID: <38845C93.27D69986@iquip.nl>


Hi,

I've been trying to run some perl-scripts via the OAS (4.0.8.0.0 - Enterprise Edition on AIX). After configuring a PERL-cartridge I have been able to run PERL scripts without arguments/parameters. But now i've got a script which needs an argument. The script will work fine when executed from the command-line on the server, but will not execute correctly if called from a browser. Even a very simple script printing 'Hello World' and a parameter will not work:

  #!/usr/bin/perl
  print "Hello World!\n";
  print $ARGV[0]."\n";

this will produce the following result:   Hello World! <path to%ORACLE_HOME%>/ows/cartx/perl/lib

The result stays the same wether an argument has been given or not!

Anybody have an idea of what could be wrong. I think this might be a problem in the configuration on the webserver, but i'm not sure.

Greetings,
Tim Received on Tue Jan 18 2000 - 06:29:07 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US