--- Me <[EMAIL PROTECTED]> wrote:
> > sub header {
> >   print << head;
> >     Content-type: text/html\n\n
> >     <html>
> >       <head><title>Control Panel</title></head>
> >       <body bgcolor=white>
> >   head
> > }
> 
> As dumb as this sounds, you can't have the 'head'
> at the end indented. Well, not without some extra
> stuff.

As a simple spacing trick for beginners, I often just pad with
underscores for visual effect, like this:

sub header {
  print <<__head;
    Content-type: text/html\n\n
    <html>
      <head><title>Control Panel</title></head>
      <body bgcolor=white>
__head
}

It works. <~shrug~>

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to