Hi,
> I tried using Lynx, and got an error on reading /foo/bar/:
>
> "unexpected network read error: connection aborted".
>
> Again, this is the case where /foo/bar/subs.html is trying to Execute
> ('../subs.html'), and /foo/subs.html is in turn doing the same.
>
> So, I tried using a small perl
Never mind it was staring at me right in the face --
local $/ = undef. (in the handler code)
Sorry about that.
- madhu >/dev/dumb
Madhu Krishnapuram wrote:
> Thanks! For some reason - my record separator had been reset - so the whole
> file was getting slurped. Explicitly setting $/="\n"
I tried using Lynx, and got an error on reading /foo/bar/:
"unexpected network read error: connection aborted".
Again, this is the case where /foo/bar/subs.html is trying to Execute
('../subs.html'), and /foo/subs.html is in turn doing the same.
So, I tried using a small perl script to read the
Thanks! For some reason - my record separator had been reset - so the whole
file was getting slurped. Explicitly setting $/="\n" seems to solve the
problem... But, my question now becomes - is this the expected/intended
behavior?
Angus Lees wrote:
> On Wed, Nov 01, 2000 at 11:20:40AM -0800, Mad
On Wed, Nov 01, 2000 at 11:20:40AM -0800, Madhu Krishnapuram wrote:
> If I use HTML::Embperl as my handler - everything works fine. Reads one
> line and processes it in the while loop.
>
> If I use this in filter mode - it sucks up the whole file on the first
> 'read' -- it goes thru the loop bod
Hi all,
I am using an embperlFilter + SSI (as described in this section -)
http://perl.apache.org/guide/snippets.html#SSI_and_Embperl_Doing_Both
So, here's my problem --
(I'm using emberl 1.2.1 - i also tried it with 1.3b3 with no luck.
Apache 1.3.12, modperl 1.24)
Code:
(in the ... section)
[$
>
> I set EMBPERL_DEBUG as you suggested. When I try the first case (using
> Execute('../subs.html') and with subs.html present at every level of the
> hierarchy), there is just a pause, followed by a message dialog from
> Netscape saying that the document contained no data. There is no output
> i
>You can send it to a file (e.g. /dev/null):
>
>open FH, "/dev/null" ;
>select (FH) ; # send STDOUT to FH
>
>Is that what you want?
>
>Gerald
Yes, that works. Thanks for my perl lesson of the day! I didn't know there was a
'currently selected file handle' and I've never used select before. I lo
Thanks for replying so fast!
I set EMBPERL_DEBUG as you suggested. When I try the first case (using
Execute('../subs.html') and with subs.html present at every level of the
hierarchy), there is just a pause, followed by a message dialog from
Netscape saying that the document contained no data. Th
> I'm trying to make my own webmail page using Embperl and the
Mail::POP3Client
> module. When I do the function call to get the message headers
($pop->Head($i)),
> some stuff I don't want gets sent to STDOUT, thus getting sent to the
browser.
> Is there some way to get around this? Thanks!
>
Yo
Hi Neil,
the setup you outlined below should work as you expected with 1.3b6.
To give me a chance to track down why it doesn't please set EMBPERL_DEBUG to
66609149 and send me the embperl.log file of your request and the output you
see at the browser.
The issue with ESCMODE = 0 is that, in 1.3b
I noticed a small error in my previous message. The DirectoryIndex
should be set to 'index.html', not 'base.html', since recursion would
occur otherwise. In addition, there does need to be an (empty)
index.html in every directory, the default for apache.
Also, I apologise for the duplicate messag
12 matches
Mail list logo