>
> 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 boun
> How did we get a file into an html page prior to [- Execute
('header.txt') -]
>
> I tried [- @headers = -]
>
> and that failed.
>
You have to set optRawInput in your httpd.conf file if you are writing with
an text editor and not with high level html editor
BTW. All the answer to escaping can
And I'm not sure why I needed only one slash
Ruben
>>
>>Which part of [- $escmode=0 -] did I miss?
>>I finally just hacked \ into it.
>>But that leaves my head scratching.
>>
>>It's been a while since I've done some embperl hacking, but I never remember it doing
>>anythign this wierd.
>>
>>I'm
I have another puzzle in this line of events.
It's very confusing. On this code here I'm having trouble
[- use ANNOUNCESUBMIT;
$vb = ANNOUNCESUBMIT->new();
$escmode = 0;
use Text::Wrap;
$Text::Wrap::columns = 4500;
-]
[- $data = $vb->current -]
[$ FOREACH $tmp @$data $]
[+ $$t
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.
> >>
> >>
Yeah
I think your probibly right. I'll look at that.
Ruben
On 2002.01.01 11:56:20 -0500 David Lloyd wrote:
>>
>>Ruben!
>>
>>> How did we get a file into an html page prior to [- Execute ('header.txt') -]
>>>
>>> I tried [- @headers = -]
>>>
>>> and that failed.
>>
>>I think that Embperl ca
Ruben!
> How did we get a file into an html page prior to [- Execute ('header.txt') -]
>
> I tried [- @headers = -]
>
> and that failed.
I think that Embperl can bugger up spaceship operators and filehandle
operators.
See if you can try:
[- @headers= h; -]
(last time I looked it tends