Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Errors in my (simple?) CGI Script!

by shotgunefx (Parson)
on Mar 09, 2002 at 20:36 UTC ( [id://150641]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Errors in my (simple?) CGI Script!
in thread Errors in my (simple?) CGI Script!

Neat trick. The left alignment has always bugged me but I would think getting the spacing right a pain.

-Lee

"To be civilized is to deny one's nature."
  • Comment on Re: Re: Re: Errors in my (simple?) CGI Script!

Replies are listed 'Best First'.
Re: Re: Re: Re: Errors in my (simple?) CGI Script!
by theguvnor (Chaplain) on Mar 09, 2002 at 22:39 UTC

    Actually the spacing isn't that much of an issue if you use tabs in your text editor to handle that. :)

    ..Guv

Re: Re: Re: Re: Errors in my (simple?) CGI Script!
by jrsmith (Pilgrim) on Mar 15, 2002 at 17:35 UTC
    i've recently started assigning blocks of text/html to variables like so:
    my $chunk = qq{ <b>Blah!</b><br><br> <i>Blah?</i> <u>Blah...</u> };
    then i just print it.. the reason i started doing this as opposed to using heredocs is the pretty formatting; i strip out the tabs used to indent with a regex before printing.

    as a side note, this seems to render pages MUCH faster than using heredocs. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150641]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.