in reply to HTML printing
I posted something that used heredocs extensively not too long ago. The documentation is in perldoc perldata.print <<'END_HTML'; <h1>this is a big piece of text sent to the browser</h1> END_HTML
I'm not quite sure this is what you wanted, but your post wasnt very clear.
$array_of_pages[0] =<< 'LABEL'; # your html code goes here LABEL $array_of_pages[1] =<< 'LABEL; # your other html code goes here LABEL # ... and so on
this is what Quinn1981 seemed to be asking me in the CB.# directly from perldoc perldata... ($quote = <<'FINIS') =~ s/^\s+//gm; The Road goes ever on and on, down from the door where it began. FINIS
--
i am not cool enough to have a signature.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HTML printing
by Quinn1981 (Initiate) on Feb 17, 2001 at 05:53 UTC |