Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 (Chancellor) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-10-19 12:10 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (252 votes). Check out past polls.