in reply to Problems Bleaching

Your problem is most likely not the Acme::Bleach (try your second piece of code without the bleaching, and I bet it still won't work), but the lack of proper html. Try this:
use Acme::Bleach; print "HTTP/1.1 200 OK\n"; print "Content-type:text/html\n\n"; print "<html><head><title>Camels are hairy</title></head>", print "<body><p>Test</p>"; print "<p>I will always write proper HTML</p>"x10; print "<p>Or better yet, I will always <a href="http://www.perlmonks.o +rg/index.pl?node_id=51012">use cgi;</a></p>"; print "</body></html>"; print "\n";
Does that help?

CU
Robartes-

Replies are listed 'Best First'.
Re: Re: Problems Bleaching
by tachyon (Chancellor) on Feb 13, 2003 at 13:50 UTC

    All you need is a header and 1 char of text (to avoid the document contained no data errors) to keep a browser happy. You definitely don't need any HTML tags.

    tachyon@perlmonk>cat basic.pl #!/usr/bin/perl print "Content-type: text/html\n\n"; print "1"; tachyon@perlmonk>
    http://tachyon.perlmonk.org/cgi-bin/basic.pl

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      And thus we learn every day. Thanks, tachyon!

      Anonymonk, please disregard my answer :)

      CU
      Robartes-