Please forgive my newbie questions here. I set the following in
httpd.conf:

# EMBPERL STUFF
SetEnv EMBPERL_ESCMODE 0
SetEnv EMBPERL_OPTIONS 16,16384

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') -]

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. 

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.

Thanks for all your help. I really appreciate it.

Gary




On Wed, 30 May 2001, Gerald Richter wrote:

> >
> > [-
> >         $oldfh = select(OUT);
> >         &do();
> >         select ($oldfh);
> > -]
> >
> 
> Instead of the select(OUT) you can set optRedirectStdout in your httpd.conf
> and Embperl will do the same for you.
> 
> Gerald
> 
> 
> -------------------------------------------------------------
> Gerald Richter    ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
> 
> Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
> WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> -------------------------------------------------------------
> 
> 

-- 
Gary Nielson
[EMAIL PROTECTED]





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

Reply via email to