Re: PERL(CGI) PROBLEM

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 UTC