Hi, I tried that and called it with:
[- $subs->newsedit();
-]
on an html page, but nothing is displayed.
Here is the output from the log:
http://www.cannonschool.org/Curriculum_and_Admissions/embperl.log?0&15635&SRC:
On Thu, 31 May 2001, Gerald Richter wrote:
>
>
> > How would I write that in front of the call to perl. I did the following
> > but am getting errors:
> >
> >
> > [-
> > sub newsedit
> > {
> > unshift(@INC,
> '/webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2') ;
> > open FH, ($ENV{QUERY_STRING} = "name=Homepage" "/usr/bin/perl
> > /webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/depart
> > ment.cgi|")
>
> open FH, ('QUERY_STRING="name=Homepage" /usr/bin/perl
> /webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/department.cgi|')
>
> or you can try
>
> $ENV{QUERY_STRING} = "name=Homepage";
> open FH, ('/usr/bin/perl
> /webServer/virtualDW/cannonschool.org/cgi-bin/newsEdit2/department.cgi|')
>
>
> 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]