in reply to Re: cgi code that opens a website
in thread cgi code that opens a website

Hey wind - thanks your code worked perfectly. Much appreciated - normann

Replies are listed 'Best First'.
Re^3: cgi code that opens a website
by Your Mother (Archbishop) on Feb 22, 2011 at 15:04 UTC

    And just for the sake of completeness, if that's *all* you're doing these would be fine too.

    use CGI; print CGI->new->redirect('http://www.google.com'); # or use CGI; print CGI::redirect('http://www.google.com'); # or (what I'd probably use) use CGI "redirect"; print redirect('http://www.google.com');
      print CGI->redirect(...

        I'll be damned. I didn't know CGI would do that. Thanks.

        perl -MCGI -e 'print CGI->redirect("http://woowoo")' Status: 302 Found Location: http://woowoo