Gibble has asked for the wisdom of the Perl Monks concerning the following question:

Thanks for all the prior help but alas I have another Q

Is it possible to use backticks to execute a the equivelant to:

createHTML?HTMT=forum.htmt&XML=forum.xml&XSL=forum.xsl

Replies are listed 'Best First'.
Re: CGI question
by chipmunk (Parson) on Dec 09, 2000 at 02:44 UTC
    Only if the backticks include a command like `lynx`. :) On the other hand, you could use LWP (libwww-perl) for a portable, Perl-only solution.
Re: CGI question
by runrig (Abbot) on Dec 09, 2000 at 05:53 UTC
    Assuming createHTML uses CGI.pm, then just
    my @arr=qx(createHTML 'HTMT=forum.htmt&XML=forum.xml&XSL=forum.xsl');
    making sure that createHTML imports '-debug' from CGI.pm since I believe '-no_debug' is the latest default:
    # In createHTML: use CGI qw(-debug);
Re: CGI question
by cephas (Pilgrim) on Dec 09, 2000 at 03:33 UTC
    You could set $ENV{QUERY_STRING} before executing the cgi script.

    cephas