W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1997

Re: PERL(CGI) PROBLEM

From: mit@dv2.nnes.nec.co.jp <Toshiki.Mitsui@dv2.nnes.nec.co.jp>
Date: Wed, 25 Jun 1997 17:47:20 +0900
Message-Id: <199706250847.IAA15904@suntx1.dv2.nnes.nec.co.jp>
To: www-jigsaw@w3.org
Cc: mit@dv2.nnes.nec.co.jp, naitou@dv2.nnes.nec.co.jp

Dear developer of Jigsaw,

Now I am trying to put Jigsaw into a perl cgi program, and I have a
problem.
Following program ex1 ran correctly, but when I exec ex2, I got a error
.
(Can't exec command
              `java w3c.tools.dbm.jdbm jpsafe -add key content`;
              $str = `java w3c.tools.dbm.jdbm jpsafe -get key`;

caution: This command is jigsaw's w3c library
)

And also when I used some perl system functions with Jigsaw, error
occurred.
If you happen to know about above problem or have some suggestions,
please
tell me.
Thank you in advance.

Best regards

Toshiki Mitsui (mit@dv2.nnes.nec.co.jp)
NEC corporation

-----------------------
(ex1.pl)
        #!/usr/local/bin/perl

        &ex1;

        sub ex1
        {
                local ($str);
                print "content-type: text/html\n\n";
                print "input dbm check1!!\n";
                print "<br>\n";
                $str = `date`;
                print "$str";
                print "<br>\n";
        }
        1; 

(ex2.pl)
        #!/usr/local/bin/perl

        &ex2;

        sub ex2
        {
                local ($str);
                print "content-type: text/html\n\n";
                print "input dbm check2!!\n";
                print "<br>\n";
                `java w3c.tools.dbm.jdbm jpsafe -add key content`;
                $str = `java w3c.tools.dbm.jdbm jpsafe -get key`;
                print "$str";
                print "<br>\n";
        }
        1;

-----------------------
the end
Received on Wednesday, 25 June 1997 04:44:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT