in reply to http POST replies

It would go something like this:
#!/usr/bin/perl use warnings; use CGI 'cgi'; my $cgi = new CGI; my $relay = ''; my %input= $cgi->Vars(); foreach $name (keys %input){ my $value = $input{$name}; $relay .= "$name=$value&"; } open (RT,">respgen.test"); print RT $relay; close RT;

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: http POST replies
by dmsparts (Sexton) on Aug 19, 2008 at 13:11 UTC
    thanks, have tried your suggestion and just gst CGI errors
      Exactly what have you tried and which errors did you get?

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James