> I do this on every single page, and it took me a while to find it too.
>
> Do this in your httpd.conf:
> SetEnv EMBPERL_OPTIONS 2048
>
Yes but sometimes you want only do it for some pages, then you can write
[- $optDisableTableScan = 1 -]
in front of the table
Gerald
---
In the URI escaping spec, '+' is the special (optional) escape code for space. But
since %XX works for any character, %20 also works for space.
-c
At 4:54 PM -0700 6/27/00, Michael Blakeley wrote:
>With the default $escapemode, Embperl seems to encode
> javascript('foo bar')
>as
>
With the default $escapemode, Embperl seems to encode
javascript('foo bar')
as
javascript('foo+bar')
but I would have expected
javascript('foo%20bar')
like Apache::Utils::escape_uri() does it. The '+', to me, means
multiple options.
Am I misguided? Or is Embperl? Or is th
I do this on every single page, and it took me a while to find it too.
Do this in your httpd.conf:
SetEnv EMBPERL_OPTIONS 2048
See http://perl.apache.org/embperl/Embperl.pod.3.html#EMBPERL_OPTIONS for more
info, in particular optDisableTableScan = 2048.
On 27-Jun-2000 Nicolas Parody wrote:
> Hi
Hi,
Another stupid question from me that I couldn't solve after looking through
the documentation.
I have file that contains just the following:
[+ $stuff +]
Note that there are no table tags since these are in a different file.
However I keep getting errors like " outside of table".
On 27-Jun-2000 Houman Akhavan wrote:
> Where do you get Net::SMTP ?
CPAN.
$ perl -MCPAN -e shell
cpan> install Net::SMTP
Regards,
Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
[EMAIL PROTECTED]
-
To unsubsc
Where do you get Net::SMTP ?
Thanks,
Houman A.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 27-Jun-2000 Nicolas Parody wrote:
> [- print "hello" -]
You need to do [- print OUT "hello" -] instead.
Check http://perl.apache.org/embperl/ for examples of this.
Regards,
Wim Kerkhoff, Software Engineer
NetMaster Networking Solutions
First, you should really use: [+ "Hello" +]
If, for some reason, you really need to use print then take a look at the
embperl options. I think the one you want to set in your httpd.conf is
OPT_REDIRECT_STDOUT or something like that.
On 27-Jun-2000 Nicolas Parody wrote:
> Hi, I don't understand w
Hi, I don't understand why this doesn't work as I expected it. Is there
another
way of doing this?
[-
print "hello" -]
the
output is:
-
Hi,
>
>
> However, I guess I have found another small difference between CGI-
> and mod_perl-based Embperl, regarding $escmode.
>
> >From my tests, I get the impression that setting $escmode in an
> Embperl page also has impact on the $escmode setting in other
> Embperl pages - that is, $escmode i
Hi,
On Tue, 27 Jun 2000, Gerald Richter wrote:
> That's because now you have a persistent Perl interpreter. In CGI mode for
> every request a new/fresh Perl interpreter is started. Under mod_perl not
> and a file that is compiled in one namespace, isn't visible in another. I
> append you a mail
Hi,
>
> recently I switched from Embperl CGI- to mod_perl-Mode. However,
> some pages, which use e.g. [- require "xxx.pl" -], strangely refuse
> to work _sometimes_, that is, some accesses yield the correct
> HTML output, but on some requests, the Perl subroutines defined
> in xxx.pl are not visib
Hi,
recently I switched from Embperl CGI- to mod_perl-Mode. However,
some pages, which use e.g. [- require "xxx.pl" -], strangely refuse
to work _sometimes_, that is, some accesses yield the correct
HTML output, but on some requests, the Perl subroutines defined
in xxx.pl are not visible in the
Jim,
> [..]
> At the moment I'm evaluating Mason for them. It seems to me that Embperl
> and Mason cover quite independant domains, although Embperl is
> pushing into
> Mason's domain with EmbperlObject. Mason seems to take a very logical and
> well-structured top-down approach, not really deal
15 matches
Mail list logo