Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: Acme Bleach

by sameerperl
on Jul 25, 2008 at 09:56 UTC ( #700073=note: print w/replies, xml ) Need Help??

in reply to Re^3: Acme Bleach
in thread Acme Bleach

This is my normal code
#use Acme::Bleach;
use CGI;
$cgi=new CGI;
print $cgi->header;
print $cgi->start_html(-title=>'Login_page',-bgcolor=>'Lavender');
print $cgi->end_form();
In the above code if we uncomment the line 2 and then
compile it, it will not load on browser and give error premature script.
Please check this code and answer me what are the mistakes in that ...

Replies are listed 'Best First'.
Re^5: Acme Bleach
by shmem (Canon) on Jul 25, 2008 at 10:09 UTC

    Most probably the line


    has been bleached away. Add it to the top of the script.


    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re^5: Acme Bleach
by DrHyde (Prior) on Jul 25, 2008 at 10:57 UTC
    The obvious mistake is that you're using to generate HTML.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://700073]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2016-10-24 17:36 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.