On Tue, Jan 01, 2002 at 12:36:10PM -0500, Ruben Safir wrote:
> On 2002.01.01 11:56:20 -0500 David Lloyd wrote:
> >>> How did we get a file into an html page prior to [- Execute ('header.txt') -]
> >>
> >>I think that Embperl can bugger up spaceship operators and filehandle
> >>operators.
> >>
> >>See if you can try:
> >>
> >>[- @headers= <FH&gth; -]
> >>
> >>(last time I looked it tends to think anything between <...> is HTML and
> >>chucks it out)

[- open FH "<header.txt"; print OUT $_ while <FH>; close FH -]


in the interests of least surprise and security, i propose we take the
opportunity during 1.x->2.0 to change a few defaults:

  optRawInput to be the default behaviour, and have to specify
  $ENV{EMBPERL_OPTIONS} |= optHTMLInput;

  $escmode = 7;

defaulting to optRawInput is bound to break some existing setups, but imho,
it needs to be done. (will more cleanly allow optXMLInput, optUnicodeInput,
etc in the future too).

-- 
 - Gus

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

Reply via email to