Hi!

I discovered this problem serveral times.

First when an embperl script fails there is such a log entry:
[11526]Reading //fatal.epl as input using PerlIO (0 Bytes)...
[11526]ERR:  12: fatal.epl(1): File //fatal.epl open error: No such file or
directory

I've got a fatal.epl in the same directory as the called .epl file but it isn't
used. Instead embperl looks for //fatal.epl (which is different than in 1.3.x).


When I use the following command to get the current url (and append it as an cgi
var to submit the next called page where she should link back) I get the full
path (eg "/admin/view-table.epl" instead of "view-table.epl").

[-
$retcmd = $ENV{"REQUEST_URI"};
-]

I also have a problem where I have to define 2 variables for one file (one is
the real filename with the complete path and a second for the web link).
$fname = "/home/nac/web/tmp/$what-$type-$intid-$offset-$now.png";
$rname = "../tmp/$what-$type-$intid-$offset-$now.png";

In embperl 1.3.x i could use the $rname for both the file access and as
web-link. Since Embperl 2.x the relational path didn't work any more and the png
files where created in "/tmp" instead of "/home/nac/web/tmp".

I used the following test script:

[! use Cwd; !]
<html>
<head><title>directory test epl</title></head>

<body>
  <a>I think I am in [+ cwd +]</a>
</body>
</html>

Is this a bug or a feature?

Yours sincerly
Alexander Hartmaier

T-Systems

T-Systems Austria

address: Hofmühlgasse 3-5, 1060 Wien
telephone: +(43) 1 599 03 - 4320
fax: +43 1 595 34 67- 4152
mobile:
mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.at



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to