> Please forgive my newbie questions here. I set the following in
> httpd.conf:
>
> # EMBPERL STUFF
> SetEnv EMBPERL_ESCMODE 0
> SetEnv EMBPERL_OPTIONS 16,16384
>

You have to add these two numbers together:

SetEnv EMBPERL_OPTIONS 16700


> and then in the html file, I did the following:
>
> [- BEGIN { unshift(@INC,
> '/webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/') } -]
> [- $name = "Homepage" -]
> [- require
>
('/webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/department.cgi') -
]
>

require will execute your script only once

> I felt I needed to add the newsedit path to @INC because I was getting
> error messages before that embperl could not find modules that were
> required by department.cgi.
>

That's ok

> I have gotten past those error messages now, but I see in the errors that
> "
> [9066]ERR: 24: Line 25: Error in Perl code: No such file or directory at
> /webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2//Relationship.pm
> line 2."
>
> The perl application newsEdit works fine outside of embperl so something
> must still be wrong with the way I am setting up paths or something. It is
> hard for me to tell what is on line2 of Relationship.pm because of the
> encryption it appears the entire program runs on line 2 in vi.
> Either that or for some reason there are 2 '/' in that error
> message: cgi-bin/newsEdit2//Relationship.pm
> line 2. I see nothing in newsedit's config file to explain this.
>

line 2 will be the line where the decrytion filter lives, so as seen from
point of the Perl interpreter everythings comes from line 2

I wrote two mails with the same subject, but different content. Did you see
my first mail where I suggested to run a separate Perl interpreter and catch
the output ? I think this will solve your problems

Gerald



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

Reply via email to