plz ignore if this is not of interest
but sometimes its better to put a / before quotes in print when doing
html...
it did help me in my restaurant guide mini semester project..
Talha

Carl Franks writes:

> Are you thinking that CGI stops you using your previous method?
> If you need to use some of CGI's features, yet include, for example a table
> that doesn't use any dynamic content,
> then you CAN still use
> 
> print <<HTML;
> stuff here...
> HTML
> 
> and you can still use
> 
> print "something";
> 
> The only problem with doing this, is that  CGI is supposed to keep your HTML
> up to date if the HTML specs change.
> Mixing CGI and your own code isn't the best for maintainability.
> 
> Having said that, this will work as planned:
> 
> use CGI;
> my $q = new CGI;
> 
> print $q->header,
>       $q->start_html;
> 
> print <<HTML;
> Hello
> HTML
> 
> print " world";
> print $q->end_html;
> 
> 
> 
> ----------
> >From: "GsuLinuX" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: Re: How can i put the html code in my cgi?!?
> >Date: Tue, Mar 5, 2002, 8:52 am
> >
> 
> > thanx, but i got a huge html code and converting like that will cost be too
> > much, isn't there a method pratique like
> > print <<"html code";
> >
> > ?!??!?!!??
> >
> > thanx
> >
> > Derya
> >
> >
> >
> > ----- Original Message -----
> > From: "Eduardo Cancino" <[EMAIL PROTECTED]>
> > To: "GsuLinuX" <[EMAIL PROTECTED]>
> > Sent: Monday, March 04, 2002 11:05 PM
> > Subject: RE: How can i put the html code in my cgi?!?
> >
> >
> >> Use this tutorial, is very good:
> >>
> >> http://stein.cshl.org/WWW/software/CGI/
> >>
> >> :-)
> >>
> >> -----Mensaje original-----
> >> De: GsuLinuX [mailto:[EMAIL PROTECTED]]
> >> Enviado el: Lunes, 04 de Marzo de 2002 03:06 p.m.
> >> Para: [EMAIL PROTECTED]
> >> Asunto: How can i put the html code in my cgi?!?
> >>
> >>
> >> Hi from İstanbul,
> >>
> >> I'm used to put the html code in cgi as below:
> >>
> >> require "subparseform.lib";
> >> &Parse_Form;
> >>
> >> print <<"html code";
> >> # HTML CODE
> >> html code
> >>
> >>
> >> But i don't know how to do it with the new module CGI.pm , anyone knows
> >> that?!?
> >>
> >> thanx
> >>
> >> Derya Sezen
> >>
> >>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to