in reply to Re: print content in cgi and html
in thread print content in cgi and html

The line containing _EOF must not contain any white space at the beginning or end or it will not work!

This isn't true, you can have all the white space you want, as long as it's the same on both ends:

print <<" _ EOF"; Blah _ EOF

We're not surrounded, we're in a target-rich environment!

Replies are listed 'Best First'.
Re: Re: Re: print content in cgi and html
by barrd (Canon) on Sep 26, 2003 at 13:59 UTC
    Hiya jasonk,
    This isn't true, you can have all the white space you want...
    OK, hands up, you're right using the technique you supplied with double quotes, but the example I gave wouldn't have accepted spaces as it wasn't quoted... so it is true.

    Thanks for the poke though. ;)